public function EntityManagerWrapper::hasHandler in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::hasHandler()
- 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::hasHandler()
- 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::hasHandler()
Checks whether a certain entity type has a certain handler.
Parameters
string $entity_type_id: The ID 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.
Overrides EntityTypeManagerInterface::hasHandler
File
- webprofiler/
src/ Entity/ EntityManagerWrapper.php, line 184
Class
- EntityManagerWrapper
- Class EntityManagerWrapper
Namespace
Drupal\webprofiler\EntityCode
public function hasHandler($entity_type, $handler_type) {
return $this->entityManager
->hasHandler($entity_type, $handler_type);
}