PageDisplayVariant.php
Same filename in other branches
- 9 core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
- 10 core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
- 11.x core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
- 11.x core/lib/Drupal/Core/Display/Attribute/PageDisplayVariant.php
- 10 core/lib/Drupal/Core/Display/Attribute/PageDisplayVariant.php
Namespace
Drupal\Core\Display\AnnotationFile
-
core/
lib/ Drupal/ Core/ Display/ Annotation/ PageDisplayVariant.php
View source
<?php
namespace Drupal\Core\Display\Annotation;
/**
* Defines a page display variant annotation object.
*
* Page display variants are a specific type of display variant, intended to
* render entire pages. They must render the crucial parts of a page, which are:
* - the title
* - the main content
* - any messages (#type => status_messages)
*
* @see \Drupal\Core\Display\VariantInterface
* @see \Drupal\Core\Display\PageVariantInterface
* @see \Drupal\Core\Display\VariantBase
* @see \Drupal\Core\Display\VariantManager
* @see plugin_api
*
* @Annotation
*/
class PageDisplayVariant extends DisplayVariant {
}
Classes
Title | Deprecated | Summary |
---|---|---|
PageDisplayVariant | Defines a page display variant annotation object. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.