You are here

Html.php in Zircon Profile 8

File

core/lib/Drupal/Core/Render/Element/Html.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\Render\Element\Html.
 */
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 array(
      '#theme' => 'html',
      // HTML5 Shiv
      '#attached' => array(
        'library' => array(
          'core/html5shiv',
        ),
      ),
    );
  }

}

Classes

Namesort descending Description
Html Provides a render element for an entire HTML page: <html> plus its children.