public function ConfigInspectorController::getTree in Configuration Inspector 8
Tree inspection view of the configuration.
Parameters
string $name: Configuration name.
Return value
array A render array for a tree view.
1 string reference to 'ConfigInspectorController::getTree'
File
- src/
Controller/ ConfigInspectorController.php, line 230
Class
- ConfigInspectorController
- Defines a controller for the config_inspector module.
Namespace
Drupal\config_inspector\ControllerCode
public function getTree($name) {
$config_schema = $this->configInspectorManager
->getConfigSchema($name);
$output = $this
->formatTree($config_schema);
$output['#title'] = $this
->t('Tree of configuration data for %name', [
'%name' => $name,
]);
return $output;
}