1.20.x taxonomy.entity.inc public TaxonomyTerm::id()

Implements EntityInterface::id().

Overrides EntityInterface::id

File

modules/taxonomy/taxonomy.entity.inc, line 79
Entity classes and controllers for Taxonomy module.

Class

TaxonomyTerm
Defines the taxonomy term entity.

Code

public function id() {
  return isset($this->tid) ? $this->tid : NULL;
}