public function WorkflowTransitionInterface::getTargetEntityId in Workflow 8
Returns the ID of the entity to which the workflow is attached.
Return value
int The ID of the entity to which the workflow is attached.
1 method overrides WorkflowTransitionInterface::getTargetEntityId()
- WorkflowTransition::getTargetEntityId in src/
Entity/ WorkflowTransition.php - Returns the ID of the entity to which the workflow is attached.
File
- src/
Entity/ WorkflowTransitionInterface.php, line 156
Class
- WorkflowTransitionInterface
- Defines a common interface for Workflow*Transition* objects.
Namespace
Drupal\workflow\EntityCode
public function getTargetEntityId();