public function JobItem::getTagsCount

Tags count of all data items.

Return value

int Tags count

Overrides JobItemInterface::getTagsCount

File

src/Entity/JobItem.php, line 464

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getTagsCount() {
  return (int) $this
    ->get('tags_count')->value;
}