You are here

public function JobItem::getTagsCount in Translation Management Tool 8

Tags count of all data items.

Return value

int Tags count

Overrides JobItemInterface::getTagsCount

File

src/Entity/JobItem.php, line 456

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;
}