public ModerationStateTransition::getFromState()
Gets the from state for the given transition.
Return value
string The moderation state ID for the from state.
Overrides ModerationStateTransitionInterface::getFromState
File
- core/modules/content_moderation/src/Entity/ModerationStateTransition.php, line 96
Class
- ModerationStateTransition
- Defines the Moderation state transition entity.
Namespace
Drupal\content_moderation\Entity
Code
public function getFromState() { return $this->stateFrom; }
Please login to continue.