function EntityTypeInterface::hasHandlerClass
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::hasHandlerClass()
- 8.9.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::hasHandlerClass()
- 11.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::hasHandlerClass()
Determines if there is a handler for a given type.
Parameters
string $handler_type: The type of handler to check.
string|false $nested: (optional) The nested handler definition key, or FALSE if the handler does not have a nested definition. Defaults to FALSE.
Return value
bool TRUE if a handler of this type exists, FALSE otherwise.
1 method overrides EntityTypeInterface::hasHandlerClass()
- EntityType::hasHandlerClass in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Determines if there is a handler for a given type.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeInterface.php, line 167
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function hasHandlerClass($handler_type, $nested = FALSE);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.