Same filename in this branch
  1. 10 core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  2. 10 core/lib/Drupal/Core/Display/Attribute/PageDisplayVariant.php
Same filename and directory in other branches
  1. 8.9.x core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  2. 9 core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php

Namespace

Drupal\Core\Display\Annotation

File

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

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