public function EntityAccessControlHandlerInterface::setModuleHandler

public EntityAccessControlHandlerInterface::setModuleHandler(ModuleHandlerInterface $module_handler)

Sets the module handler for this access control handler.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

Return value

$this

File

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

Class

EntityAccessControlHandlerInterface
Defines an interface for entity access control handlers.

Namespace

Drupal\Core\Entity

Code

public function setModuleHandler(ModuleHandlerInterface $module_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/function/EntityAccessControlHandlerInterface::setModuleHandler/8.1.x