You are here

public function CurrencyLocaleAccessControlHandler::__construct in Currency 8.3

Constructor

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity info for the entity type.

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

Overrides EntityAccessControlHandler::__construct

File

src/Entity/CurrencyLocale/CurrencyLocaleAccessControlHandler.php, line 28

Class

CurrencyLocaleAccessControlHandler
Checks access for currency_locale entities.

Namespace

Drupal\currency\Entity\CurrencyLocale

Code

public function __construct(EntityTypeInterface $entity_type, ModuleHandlerInterface $module_handler) {
  parent::__construct($entity_type);
  $this->moduleHandler = $module_handler;
}