Html.php in Drupal 8
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Core\Render\ElementFile
core/lib/Drupal/Core/Render/Element/Html.phpView source
<?php
namespace Drupal\Core\Render\Element;
/**
* Provides a render element for an entire HTML page: <html> plus its children.
*
* @RenderElement("html")
*/
class Html extends RenderElement {
/**
* {@inheritdoc}
*/
public function getInfo() {
return [
'#theme' => 'html',
// HTML5 Shiv
'#attached' => [
'library' => [
'core/html5shiv',
],
],
];
}
}