1. 8.2.x core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  2. 8.0.x core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  3. 8.1.x core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  4. 8.3.x core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php

Namespace

Drupal\Core\Display\Annotation

File

core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
View source
  1. <?php
  2. namespace Drupal\Core\Display\Annotation;
  3. /**
  4. * Defines a page display variant annotation object.
  5. *
  6. * Page display variants are a specific type of display variant, intended to
  7. * render entire pages. They must render the crucial parts of a page, which are:
  8. * - the title
  9. * - the main content
  10. * - any messages (#type => status_messages)
  11. *
  12. * @see \Drupal\Core\Display\VariantInterface
  13. * @see \Drupal\Core\Display\PageVariantInterface
  14. * @see \Drupal\Core\Display\VariantBase
  15. * @see \Drupal\Core\Display\VariantManager
  16. * @see plugin_api
  17. *
  18. * @Annotation
  19. */
  20. class PageDisplayVariant extends DisplayVariant {
  21. }

Classes

Namesort descending Description
PageDisplayVariant Defines a page display variant annotation object.