function StatusReportPage::getInfo

Same name in other branches
  1. 8.9.x core/modules/system/src/Element/StatusReportPage.php \Drupal\system\Element\StatusReportPage::getInfo()
  2. 10 core/modules/system/src/Element/StatusReportPage.php \Drupal\system\Element\StatusReportPage::getInfo()
  3. 11.x core/modules/system/src/Element/StatusReportPage.php \Drupal\system\Element\StatusReportPage::getInfo()

Overrides ElementInterface::getInfo

File

core/modules/system/src/Element/StatusReportPage.php, line 19

Class

StatusReportPage
Creates status report page element.

Namespace

Drupal\system\Element

Code

public function getInfo() {
    $class = static::class;
    return [
        '#theme' => 'status_report_page',
        '#pre_render' => [
            [
                $class,
                'preRenderCounters',
            ],
            [
                $class,
                'preRenderGeneralInfo',
            ],
            [
                $class,
                'preRenderRequirements',
            ],
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.