You are here

public function StatusReportPage::getInfo in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/Element/StatusReportPage.php \Drupal\system\Element\StatusReportPage::getInfo()
  2. 9 core/modules/system/src/Element/StatusReportPage.php \Drupal\system\Element\StatusReportPage::getInfo()

Returns the element properties for this element.

Return value

array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.

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',
      ],
    ],
  ];
}