Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Html.php

Same filename in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/CodeCoverage/Report/Html.php
  2. 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Logging/TestDox/Html.php
  3. 11.1.x vendor/squizlabs/php_codesniffer/src/Generators/HTML.php
  4. 11.1.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;

use Drupal\Core\Render\Attribute\RenderElement;

/**
 * Provides a render element for an entire HTML page: <html> plus its children.
 */
class Html extends RenderElementBase {
    
    /**
     * {@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.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal