You are here

public static function WorkflowManagerInterface::isOwner in Workflow 8

Determine if User is owner/author of the entity.

Parameters

\Drupal\Core\Session\AccountInterface $account:

\Drupal\Core\Entity\EntityInterface $entity:

Return value

bool

1 method overrides WorkflowManagerInterface::isOwner()
WorkflowManager::isOwner in src/Entity/WorkflowManager.php
Determine if User is owner/author of the entity.

File

src/Entity/WorkflowManagerInterface.php, line 161

Class

WorkflowManagerInterface
Provides an interface for workflow manager.

Namespace

Drupal\workflow\Entity

Code

public static function isOwner(AccountInterface $account, EntityInterface $entity = NULL);