Same filename in this branch
  1. 10 core/lib/Drupal/Component/Utility/Html.php
  2. 10 core/lib/Drupal/Core/Render/Element/Html.php
Same filename and directory in other branches
  1. 8.9.x core/lib/Drupal/Core/Render/Element/Html.php
  2. 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;

use Drupal\Core\Render\Attribute\RenderElement;
use Drupal\Core\Render\Element\RenderElement as RenderElementBase;

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

#[RenderElement('html')]
class Html extends RenderElementBase {

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

}

Classes

Namesort descending Description
Html