public function JobInterface::isAuthor in Translation Management Tool 8
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\tmgmtCode
public function isAuthor(AccountInterface $account = NULL);