You are here

public function PermissionConfigurationHandler::__construct in Configuration Management 7.3

Overrides ConfigurationHandler::__construct

File

src/Handlers/PermissionConfigurationHandler.php, line 23

Class

PermissionConfigurationHandler

Namespace

Configuration\Handlers

Code

public function __construct($type, $configuration_manager) {
  parent::__construct($type, $configuration_manager);

  // This cache never changes since is only modified when installing new modules.
  $this->cached_permissions_modules = $this->configuration_manager
    ->drupal()
    ->user_permission_get_modules();
  $this
    ->buildCache();
}