public static function CommonHookHandler::hookPermission in DB Maintenance 8
Same name and namespace in other branches
- 7.2 src/Module/Hook/CommonHookHandler.php \Drupal\db_maintenance\Module\Hook\CommonHookHandler::hookPermission()
- 2.0.x src/Module/Hook/CommonHookHandler.php \Drupal\db_maintenance\Module\Hook\CommonHookHandler::hookPermission()
Implements hook_permission().
File
- src/
Module/ Hook/ CommonHookHandler.php, line 61 - CommonHookHandler class.
Class
- CommonHookHandler
- CommonHookHandler class.
Namespace
Drupal\db_maintenance\Module\HookCode
public static function hookPermission() {
return array(
'administer db maintenance' => array(
'title' => t('Administer DB Maintenance'),
'description' => t('Select which tables to optimize during cron jobs.'),
),
);
}