function plugin_permission in Plugin 8
Implements hook_permission().
File
- ./
plugin.module, line 11 - UI for plugin system.
Code
function plugin_permission() {
return [
'administer plugins' => [
'title' => t('Administer plugins'),
'restrict access' => TRUE,
],
];
}