You are here

function entity_update_get_entity_definitions in Entity Update 8

Same name and namespace in other branches
  1. 2.0.x entity_update.module \entity_update_get_entity_definitions()

Get entity definitions.

Return value

\Drupal\Core\Entity\EntityTypeInterface[] Entity definitions.

1 call to entity_update_get_entity_definitions()
Settings::buildForm in src/Form/Settings.php
Form constructor.

File

./entity_update.module, line 138
Entity update module (entity_update).

Code

function entity_update_get_entity_definitions() {
  return \Drupal::entityTypeManager()
    ->getDefinitions();
}