You are here

public function DevelController::themeRegistry in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::themeRegistry()
  2. 8.2 src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::themeRegistry()
  3. 4.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);
}