function DevelController::themeRegistry

Same name in other branches
  1. 4.x src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::themeRegistry()
  2. 5.x src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::themeRegistry()
1 string reference to 'DevelController::themeRegistry'
devel.routing.yml in ./devel.routing.yml
devel.routing.yml

File

src/Controller/DevelController.php, line 50

Class

DevelController
Returns responses for devel module routes.

Namespace

Drupal\devel\Controller

Code

public function themeRegistry() {
    $hooks = theme_get_registry();
    ksort($hooks);
    return $this->dumper
        ->exportAsRenderable($hooks);
}