public function EntityTypeInterface::hasHandlerClass
public EntityTypeInterface::hasHandlerClass($handler_type, $nested = FALSE)
Determines if there is a handler for a given type.
Parameters
string $handler_type: The type of handler to check.
bool $nested: (optional) If this handler has a nested definition. Defaults to FALSE.
Return value
bool TRUE if a handler of this type exists, FALSE otherwise.
File
- core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 173
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function hasHandlerClass($handler_type, $nested = FALSE);
© 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!EntityTypeInterface.php/function/EntityTypeInterface::hasHandlerClass/8.1.x