You are here

public function WorkflowTransitionInterface::getTargetEntity in Workflow 8

Returns the entity to which the workflow is attached.

Return value

\Drupal\Core\Entity\EntityInterface The entity to which the workflow is attached.

1 method overrides WorkflowTransitionInterface::getTargetEntity()
WorkflowTransition::getTargetEntity in src/Entity/WorkflowTransition.php
Returns the entity to which the workflow is attached.

File

src/Entity/WorkflowTransitionInterface.php, line 148

Class

WorkflowTransitionInterface
Defines a common interface for Workflow*Transition* objects.

Namespace

Drupal\workflow\Entity

Code

public function getTargetEntity();