Issue #2295469 followup by damiankloip: Add support for static permission definitions with *.permissions.yml.

8.0.x
Alex Pott 2014-09-09 11:07:45 +01:00
parent 73b0592ffe
commit c1dd108198
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class PermissionHandler implements PermissionHandlerInterface {
if (!is_array($permission)) {
$permission = array(
'title' => $permission,
'description' => NULL,``
'description' => NULL,
);
}
$permission['provider'] = $provider;