You are here

public function ConfigInspectorController::getList in Configuration Inspector 8

List (table) inspection view of the configuration.

Parameters

string $name: Configuration name.

Return value

array A render array for a list view.

1 string reference to 'ConfigInspectorController::getList'
config_inspector.routing.yml in ./config_inspector.routing.yml
config_inspector.routing.yml

File

src/Controller/ConfigInspectorController.php, line 214

Class

ConfigInspectorController
Defines a controller for the config_inspector module.

Namespace

Drupal\config_inspector\Controller

Code

public function getList($name) {
  $config_schema = $this->configInspectorManager
    ->getConfigSchema($name);
  $output = $this
    ->formatList($name, $config_schema);
  $output['#title'] = $this
    ->t('List of configuration data for %name', [
    '%name' => $name,
  ]);
  return $output;
}