Same filename in this branch
- 8.9.x core/lib/Drupal/Component/Utility/Html.php
- 8.9.x core/lib/Drupal/Core/Render/Element/Html.php
Same filename and directory in other branches
- 10 core/lib/Drupal/Core/Render/Element/Html.php
- 9 core/lib/Drupal/Core/Render/Element/Html.php
Namespace
Drupal\Core\Render\Element
File
core/lib/Drupal/Core/Render/Element/Html.php
View source
<?php
namespace Drupal\Core\Render\Element;
class Html extends RenderElement {
public function getInfo() {
return [
'#theme' => 'html',
'#attached' => [
'library' => [
'core/html5shiv',
],
],
];
}
}
Classes
Name |
Description |
Html |
Provides a render element for an entire HTML page: <html> plus its children. |