Entity::getEntityTypeId

public Entity::getEntityTypeId()

Gets the ID of the type of the entity.

Return value

string The entity type ID.

Overrides EntityInterface::getEntityTypeId

File

core/lib/Drupal/Core/Entity/Entity.php, line 141

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public function getEntityTypeId() {
  return $this->entityTypeId;
}
doc_Drupal
2016-10-29 09:04:20
Comments
Leave a Comment

Please login to continue.