public static Drupal::entityTypeManager()
Retrieves the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.
File
- core/lib/Drupal.php, line 272
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function entityTypeManager() { return static::getContainer()->get('entity_type.manager'); }
Please login to continue.