function ContainerInfoController::parameterDetail
Returns a render array representation of the parameter value.
Parameters
string $parameter_name: The name of the parameter to retrieve.
Return value
array A render array containing the parameter value.
Throws
\Symfony\Component\HttpKernel\Exception\NotFoundHttpException If the requested parameter is not defined.
1 string reference to 'ContainerInfoController::parameterDetail'
File
- 
              src/Controller/ ContainerInfoController.php, line 246 
Class
- ContainerInfoController
- Provides route responses for the container info pages.
Namespace
Drupal\devel\ControllerCode
public function parameterDetail($parameter_name) {
  try {
    $parameter = $this->container
      ->getParameter($parameter_name);
  } catch (ParameterNotFoundException $e) {
    throw new NotFoundHttpException();
  }
  return $this->dumper
    ->exportAsRenderable($parameter);
}