class Page
Same name in this branch
- main core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
Same name and namespace in other branches
- 11.x core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
- 11.x core/lib/Drupal/Core/Render/Element/Page.php \Drupal\Core\Render\Element\Page
- 10 core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
- 10 core/lib/Drupal/Core/Render/Element/Page.php \Drupal\Core\Render\Element\Page
- 9 core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
- 9 core/lib/Drupal/Core/Render/Element/Page.php \Drupal\Core\Render\Element\Page
- 8.9.x core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page
- 8.9.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.
Attributes
#[RenderElement('page')]
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase uses \Drupal\Core\DependencyInjection\AutowiredInstanceTrait, \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait extends \Drupal\Component\Plugin\PluginBase
- class \Drupal\Core\Render\Element\RenderElementBase implements \Drupal\Core\Render\Element\ElementInterface extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\Core\Render\Element\Page extends \Drupal\Core\Render\Element\RenderElementBase
- class \Drupal\Core\Render\Element\RenderElementBase implements \Drupal\Core\Render\Element\ElementInterface extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\Core\Plugin\PluginBase uses \Drupal\Core\DependencyInjection\AutowiredInstanceTrait, \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait extends \Drupal\Component\Plugin\PluginBase
Expanded class hierarchy of Page
847 string references to 'Page'
- 32650de8-9edd-48dc-80b8-8bda180ebbac.yml in core/
tests/ fixtures/ default_content/ node/ 32650de8-9edd-48dc-80b8-8bda180ebbac.yml - core/tests/fixtures/default_content/node/32650de8-9edd-48dc-80b8-8bda180ebbac.yml
- 48475954-e878-439c-9d3d-226724a44269.yml in core/
tests/ fixtures/ default_content/ node/ 48475954-e878-439c-9d3d-226724a44269.yml - core/tests/fixtures/default_content/node/48475954-e878-439c-9d3d-226724a44269.yml
- 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
- AccessDeniedTest::testAccessDeniedCustomPageWithAccessDenied in core/
modules/ system/ tests/ src/ Functional/ System/ AccessDeniedTest.php - Tests that an inaccessible custom 403 page falls back to the default.
- ActiveLinkResponseFilter::setLinkActiveClass in core/
lib/ Drupal/ Core/ EventSubscriber/ ActiveLinkResponseFilter.php - Sets the "is-active" class and aria-current attribute on relevant links.
6 #type uses of Page
- BareHtmlPageRenderer::renderBarePage in core/
lib/ Drupal/ Core/ Render/ BareHtmlPageRenderer.php - 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.
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ Page.php, line 12
Namespace
Drupal\Core\Render\ElementView source
class Page extends RenderElementBase {
/**
* {@inheritdoc}
*/
public function getInfo() {
return [
'#theme' => 'page',
'#title' => '',
];
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.