You are here

public function PermissionConfigurationHandler::onModulesInstalled in Configuration Management 7.3

File

src/Handlers/PermissionConfigurationHandler.php, line 148

Class

PermissionConfigurationHandler

Namespace

Configuration\Handlers

Code

public function onModulesInstalled($event) {
  $modules = $event
    ->getModules();
  if (!empty($modules)) {
    $this->cached_permissions_modules = $this->configuration_manager
      ->drupal()
      ->user_permission_get_modules();
  }
}