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
public function hasDefinition($plugin_id) { return $this->container->get('entity_type.manager')->hasDefinition($plugin_id); }
Please login to continue.