W3cubDocs

/Drupal 8

public function EntityTypeManagerInterface::getAccessControlHandler

public EntityTypeManagerInterface::getAccessControlHandler($entity_type)

Creates a new access control handler instance.

Parameters

string $entity_type: The entity type for this access control handler.

Return value

\Drupal\Core\Entity\EntityAccessControlHandlerInterface. A access control handler instance.

File

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

Class

EntityTypeManagerInterface
Provides an interface for entity type managers.

Namespace

Drupal\Core\Entity

Code

public function getAccessControlHandler($entity_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::getAccessControlHandler/8.1.x