PageDisplayVariant.php

Same filename in this branch
  1. 11.x core/lib/Drupal/Core/Display/Attribute/PageDisplayVariant.php
Same filename in other branches
  1. 9 core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  2. 8.9.x core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  3. 10 core/lib/Drupal/Core/Display/Annotation/PageDisplayVariant.php
  4. 10 core/lib/Drupal/Core/Display/Attribute/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

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.