Displays the system performance page.

Return value

array A render array containing the cache-clear form and performance configuration form.

1 string reference to 'PerformanceController::build'
system.routing.yml in core/modules/system/system.routing.yml
core/modules/system/system.routing.yml

File

core/modules/system/src/Controller/PerformanceController.php, line 21

Class

PerformanceController
Controller for performance admin.

Namespace

Drupal\system\Controller

Code

public function build() : array {
  return [
    'cache_clear' => $this
      ->formBuilder()
      ->getForm(ClearCacheForm::class),
    'performance' => $this
      ->formBuilder()
      ->getForm(PerformanceForm::class),
  ];
}