You are here

public function LocalTaskInterface::isAuthor in Translation Management Tool 8

Checks whether the user described by $account is the author of this task.

Parameters

\Drupal\Core\Session\AccountInterface $account: (Optional) A user object. Defaults to the currently logged in user.

1 method overrides LocalTaskInterface::isAuthor()
LocalTask::isAuthor in translators/tmgmt_local/src/Entity/LocalTask.php
Checks whether the user described by $account is the author of this task.

File

translators/tmgmt_local/src/LocalTaskInterface.php, line 135

Class

LocalTaskInterface
Interface for tmgmt_local_task entity.

Namespace

Drupal\tmgmt_local

Code

public function isAuthor(AccountInterface $account = NULL);