W3cubDocs

/Drupal 8

public function EntityStorageBase::getEntityTypeId

public EntityStorageBase::getEntityTypeId()

Gets the entity type ID.

Return value

string The entity type ID.

Overrides EntityStorageInterface::getEntityTypeId

File

core/lib/Drupal/Core/Entity/EntityStorageBase.php, line 93

Class

EntityStorageBase
A base entity storage class.

Namespace

Drupal\Core\Entity

Code

public function getEntityTypeId() {
  return $this->entityTypeId;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityStorageBase.php/function/EntityStorageBase::getEntityTypeId/8.1.x