public function RoleConfigurationHandler::onPermissionLoad in Configuration Management 7.3
File
- src/
Handlers/ RoleConfigurationHandler.php, line 92
Class
Namespace
Configuration\HandlersCode
public function onPermissionLoad($event) {
$permission = $event->configuration
->getData();
foreach ($permission['roles'] as $role) {
$this->configuration_manager
->newDependency($event->configuration, 'role.' . $role);
}
}