public function EntityTypeManagerInterface::hasHandler

public EntityTypeManagerInterface::hasHandler($entity_type, $handler_type)

Checks whether a certain entity type has a certain handler.

Parameters

string $entity_type: The name of the entity type.

string $handler_type: The name of the handler.

Return value

bool Returns TRUE if the entity type has the handler, else FALSE.

File

core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php, line 93

Class

EntityTypeManagerInterface
Provides an interface for entity type managers.

Namespace

Drupal\Core\Entity

Code

public function hasHandler($entity_type, $handler_type);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityTypeManagerInterface.php/function/EntityTypeManagerInterface::hasHandler/8.1.x