Entity::entityTypeManager

protected Entity::entityTypeManager()

Gets the entity type manager.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface

File

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

Class

Entity
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

protected function entityTypeManager() {
  return \Drupal::entityTypeManager();
}
doc_Drupal
2016-10-29 09:04:18
Comments
Leave a Comment

Please login to continue.