function EntityTypeManager::getAccessControlHandler
Creates a new access control handler instance.
Parameters
string $entity_type_id: The entity type ID for this access control handler.
Return value
\Drupal\Core\Entity\EntityAccessControlHandlerInterface An access control handler instance.
Overrides EntityTypeManagerInterface::getAccessControlHandler
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeManager.php, line 248
Class
- EntityTypeManager
- Manages entity type plugin definitions.
Namespace
Drupal\Core\EntityCode
public function getAccessControlHandler($entity_type_id) {
return $this->getHandler($entity_type_id, 'access');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.