Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
StateInterface.php
function StateInterface::id
Gets the state's ID.
Return value
string The state's ID.
2 methods override
StateInterface::id()
ContentModerationState::id
in core/
modules/
content_moderation/
src/
ContentModerationState.php
Gets the state's ID.
State::id
in core/
modules/
workflows/
src/
State.php
Gets the state's ID.
File
core/
modules/
workflows/
src/
StateInterface.php
, line 25
Class
StateInterface
An interface for state value objects.
Namespace
Drupal\workflows
Code
public
function
id
();
RSS feed