class Page

Same name in this branch
  1. 10 core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
  2. 9 core/lib/Drupal/Core/Render/Element/Page.php \Drupal\Core\Render\Element\Page
  3. 8.9.x core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
  4. 8.9.x core/lib/Drupal/Core/Render/Element/Page.php \Drupal\Core\Render\Element\Page
  5. 11.x core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
  6. 11.x core/lib/Drupal/Core/Render/Element/Page.php \Drupal\Core\Render\Element\Page

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.

Hierarchy

Expanded class hierarchy of Page

830 string references to 'Page'
7f1dd75a-0be2-4d3b-be5d-9d1a868b9267.yml in core/tests/fixtures/default_content/node/7f1dd75a-0be2-4d3b-be5d-9d1a868b9267.yml
core/tests/fixtures/default_content/node/7f1dd75a-0be2-4d3b-be5d-9d1a868b9267.yml
ActiveLinkResponseFilter::setLinkActiveClass in core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php
Sets the "is-active" class and aria-current attribute on relevant links.
ActiveLinkResponseFilterTest::providerTestSetLinkActiveClass in core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php
Provides test data for testSetLinkActiveClass().
AreaDisplayLinkTest::setUp in core/modules/views/tests/src/Kernel/Handler/AreaDisplayLinkTest.php
ArgumentDateTimeTest::setUp in core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php

... See full list

File

core/lib/Drupal/Core/Render/Element/Page.php, line 12

Namespace

Drupal\Core\Render\Element
View source
class Page extends RenderElementBase {
    
    /**
     * {@inheritdoc}
     */
    public function getInfo() {
        return [
            '#theme' => 'page',
            '#title' => '',
        ];
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
Page::getInfo public function Overrides ElementInterface::getInfo
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 6
PluginInspectionInterface::getPluginId public function Gets the plugin ID of the plugin instance. 2
RenderElementBase::preRenderAjaxForm public static function Adds Ajax information about an element to communicate with JavaScript. 2
RenderElementBase::preRenderGroup public static function Adds members of this group as actual elements for rendering. 2
RenderElementBase::processAjaxForm public static function Form element processing handler for the #ajax form property. 3
RenderElementBase::processGroup public static function Arranges elements into groups. 2
RenderElementBase::setAttributes public static function Overrides ElementInterface::setAttributes 2

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.