function Html::getInfo

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Render/Element/Html.php \Drupal\Core\Render\Element\Html::getInfo()
  2. 8.9.x core/lib/Drupal/Core/Render/Element/Html.php \Drupal\Core\Render\Element\Html::getInfo()
  3. 10 core/lib/Drupal/Core/Render/Element/Html.php \Drupal\Core\Render\Element\Html::getInfo()

Overrides ElementInterface::getInfo

File

core/lib/Drupal/Core/Render/Element/Html.php, line 16

Class

Html
Provides a render element for an entire HTML page: <html> plus its children.

Namespace

Drupal\Core\Render\Element

Code

public function getInfo() {
    return [
        '#theme' => 'html',
    ];
}

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