public function LocalTask::getOwnerId

1 call to LocalTask::getOwnerId()
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/Entity/LocalTask.php, line 136

Class

LocalTask
Entity class for the local task entity.

Namespace

Drupal\tmgmt_local\Entity

Code

public function getOwnerId() {
  return $this
    ->get('uid')->target_id;
}