Neos\Flow\Security\Policy\PolicyService::emitRolesInitialized PHP Method

emitRolesInitialized() protected method

This signal can be used to register roles during runtime. In the slot make sure to receive the $roles array by reference so you can alter it.
protected emitRolesInitialized ( array &$roles ) : void
$roles array
return void
    protected function emitRolesInitialized(array &$roles)
    {
    }