W3cubDocs

/Drupal 8

interface EntityAccessControlHandlerInterface

Defines an interface for entity access control handlers.

Hierarchy

File

core/lib/Drupal/Core/Entity/EntityAccessControlHandlerInterface.php, line 13

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
EntityAccessControlHandlerInterface::access public function Checks access to an operation on a given entity or entity translation.
EntityAccessControlHandlerInterface::createAccess public function Checks access to create an entity.
EntityAccessControlHandlerInterface::fieldAccess public function Checks access to an operation on a given entity field.
EntityAccessControlHandlerInterface::resetCache public function Clears all cached access checks.
EntityAccessControlHandlerInterface::setModuleHandler public function Sets the module handler for this access control handler.

© 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!EntityAccessControlHandlerInterface.php/interface/EntityAccessControlHandlerInterface/8.1.x