class ModuleConfig in Like & Dislike 7
Same name in this branch
- 7 src/Controllers/PageControllers/ModuleConfig.php \Drupal\like_and_dislike\Controllers\PageControllers\ModuleConfig
- 7 src/Controllers/FormControllers/ModuleConfig.php \Drupal\like_and_dislike\Controllers\FormControllers\ModuleConfig
@file Management configuration page
Hierarchy
- class \Drupal\like_and_dislike\Controllers\PageControllers\ModuleConfig implements \Drupal\cool\Controllers\PageController
Expanded class hierarchy of ModuleConfig
File
- src/
Controllers/ PageControllers/ ModuleConfig.php, line 9 - Management configuration page
Namespace
Drupal\like_and_dislike\Controllers\PageControllersView source
class ModuleConfig implements \Drupal\cool\Controllers\PageController {
public static function getPath() {
return 'admin/config/like_and_dislike';
}
public static function accessCallback() {
return user_access('manage like dislike');
}
public static function getDefinition() {
return array(
'title' => t('Like & Dislike'),
'description' => t('Management options for the like and dislike buttons.'),
);
}
public static function pageCallback() {
return \Drupal\like_and_dislike\Controllers\FormControllers\ModuleConfig::getForm();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ModuleConfig:: |
public static | function | ||
ModuleConfig:: |
public static | function | ||
ModuleConfig:: |
public static | function | ||
ModuleConfig:: |
public static | function |