public function JobInterface::isAuthor

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

Parameters

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

Return value

bool TRUE if the passed account is the job owner.

1 method overrides JobInterface::isAuthor()
Job::isAuthor in src/Entity/Job.php
Checks whether the user described by $account is the author of this job.

File

src/JobInterface.php, line 385

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function isAuthor(AccountInterface $account = NULL);