function DevelController::themeRegistry

Same name in other branches
  1. 4.x src/Controller/DevelController.php \Drupal\devel\Controller\DevelController::themeRegistry()

Theme registry.

Return value

array The complete theme registry as renderable.

1 string reference to 'DevelController::themeRegistry'
devel.routing.yml in ./devel.routing.yml
devel.routing.yml

File

src/Controller/DevelController.php, line 86

Class

DevelController
Returns responses for devel module routes.

Namespace

Drupal\devel\Controller

Code

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