You are here

class ModuleConfig in Like & Dislike 7

Same name in this branch
  1. 7 src/Controllers/PageControllers/ModuleConfig.php \Drupal\like_and_dislike\Controllers\PageControllers\ModuleConfig
  2. 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\PageControllers
View 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

Namesort descending Modifiers Type Description Overrides
ModuleConfig::accessCallback public static function
ModuleConfig::getDefinition public static function
ModuleConfig::getPath public static function
ModuleConfig::pageCallback public static function