You are here

Page.php in Drupal 10

File

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

namespace Drupal\Core\Render\Element;


/**
 * Provides a render element for the content of an HTML page.
 *
 * This represents the "main part" of the HTML page's body; see html.html.twig.
 *
 * @RenderElement("page")
 */
class Page extends RenderElement {

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

}

Classes

Namesort descending Description
Page Provides a render element for the content of an HTML page.