class Page

Same name in this branch
  1. 8.9.x 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. 10 core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
  4. 10 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.

Plugin annotation

@RenderElement("page");

Hierarchy

Expanded class hierarchy of Page

786 string references to 'Page'
AreaDisplayLinkTest::setUp in core/modules/views/tests/src/Kernel/Handler/AreaDisplayLinkTest.php
ArgumentDateTimeTest::setUp in core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
ArgumentDefaultTest::testArgumentDefaultNode in core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
Test node default argument.
ArgumentDefaultTest::testArgumentDefaultNode in core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
Test node default argument.
ArgumentDefaultTest::testArgumentDefaultQueryParameter in core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
Tests the query parameter default argument.

... See full list

6 #type uses of Page
BareHtmlPageRenderer::renderBarePage in core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php
Renders a bare page.
BatchController::batchPage in core/modules/system/src/Controller/BatchController.php
Returns a system batch page.
BlockController::demo in core/modules/block/src/Controller/BlockController.php
Returns a block theme demo page.
ElementInfoManagerTest::providerTestGetInfoElementPlugin in core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php
Provides tests data for testGetInfoElementPlugin().
ErrorTestController::triggerRendererException in core/modules/system/tests/modules/error_test/src/Controller/ErrorTestController.php
Trigger an exception during rendering.

... See full list

File

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

Namespace

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

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
Page::getInfo public function Returns the element properties for this element. 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
RenderElement::preRenderAjaxForm public static function Adds Ajax information about an element to communicate with JavaScript.
RenderElement::preRenderGroup public static function Adds members of this group as actual elements for rendering.
RenderElement::processAjaxForm public static function Form element processing handler for the #ajax form property. 1
RenderElement::processGroup public static function Arranges elements into groups.
RenderElement::setAttributes public static function Sets a form element's class attribute. Overrides ElementInterface::setAttributes

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