function Html::getInfo
Same name in other branches
- 9 core/lib/Drupal/Core/Render/Element/Html.php \Drupal\Core\Render\Element\Html::getInfo()
- 8.9.x core/lib/Drupal/Core/Render/Element/Html.php \Drupal\Core\Render\Element\Html::getInfo()
- 11.x 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\ElementCode
public function getInfo() {
return [
'#theme' => 'html',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.