function StateInterface::id
Same name in other branches
- 9 core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::id()
- 8.9.x core/modules/workflows/src/StateInterface.php \Drupal\workflows\StateInterface::id()
- 10 core/modules/workflows/src/StateInterface.php \Drupal\workflows\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 - State::id in core/
modules/ workflows/ src/ State.php
File
-
core/
modules/ workflows/ src/ StateInterface.php, line 25
Class
- StateInterface
- An interface for state value objects.
Namespace
Drupal\workflowsCode
public function id();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.