Skip to main content
API Documentation
Main menu
Paragraphs
TMGMT
You are here
Home
»
API reference
»
8.x-1.x
»
Job.php
»
Job
Search 8.x-1.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
8.x-1.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Deprecated
public function Job::getOwnerId
1 call to Job::getOwnerId()
Job::isAuthor
in src/
Entity/
Job.php
Checks whether the user described by $account is the author of this job.
File
src/
Entity/
Job.php
, line 1006
Class
Job
Entity class for the tmgmt_job entity.
Namespace
Drupal\tmgmt\Entity
Code
public
function
getOwnerId
() {
return
$this
->
get
(
'uid'
)->
target_id
; }