public EntityManager::hasDefinition($plugin_id)
Overrides DiscoveryInterface::hasDefinition
File
- core/lib/Drupal/Core/Entity/EntityManager.php, line 493
Class
- EntityManager
- Provides a wrapper around many other services relating to entities.
Namespace
Drupal\Core\Entity
Code
1 2 3 | public function hasDefinition( $plugin_id ) { return $this ->container->get( 'entity_type.manager' )->hasDefinition( $plugin_id ); } |
Please login to continue.