Same filename in this branch
  1. 10 core/lib/Drupal/Core/Render/Element/Page.php
  2. 10 core/modules/views/src/Plugin/views/display/Page.php
Same filename and directory in other branches
  1. 8.9.x core/lib/Drupal/Core/Render/Element/Page.php
  2. 9 core/lib/Drupal/Core/Render/Element/Page.php

Namespace

Drupal\Core\Render\Element

File

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

namespace Drupal\Core\Render\Element;

use Drupal\Core\Render\Attribute\RenderElement;

/**
 * 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 RenderElementBase {

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

}

Classes

Namesort descending Description
Page