Html.php

Same filename in this branch
  1. 9 core/lib/Drupal/Component/Utility/Html.php
Same filename in other branches
  1. 8.9.x core/lib/Drupal/Core/Render/Element/Html.php
  2. 8.9.x core/lib/Drupal/Component/Utility/Html.php
  3. 10 core/lib/Drupal/Core/Render/Element/Html.php
  4. 10 core/lib/Drupal/Component/Utility/Html.php
  5. 11.x core/lib/Drupal/Core/Render/Element/Html.php
  6. 11.x core/lib/Drupal/Component/Utility/Html.php

Namespace

Drupal\Core\Render\Element

File

core/lib/Drupal/Core/Render/Element/Html.php

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

}

Classes

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

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