public function ToolbarMenuPermissions::permissions in Toolbar Menu 8
Same name and namespace in other branches
- 8.2 src/ToolbarMenuPermissions.php \Drupal\toolbar_menu\ToolbarMenuPermissions::permissions()
Returns an array of toolbar_menu permissions.
Return value
array The permission list.
1 string reference to 'ToolbarMenuPermissions::permissions'
File
- src/
ToolbarMenuPermissions.php, line 45
Class
- ToolbarMenuPermissions
- Provides dynamic permissions of the toolbar_menu module.
Namespace
Drupal\toolbar_menuCode
public function permissions() {
return $this->toolbarMenuManager
->getPermissionList();
}