You are here

ViewsPluginAnnotationBase.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/views/src/Annotation/ViewsPluginAnnotationBase.php

File

core/modules/views/src/Annotation/ViewsPluginAnnotationBase.php
View source
<?php

/**
 * @file
 * Contains \Drupal\views\Annotation\ViewsPluginAnnotationBase.
 */
namespace Drupal\views\Annotation;

use Drupal\Component\Annotation\AnnotationInterface;
use Drupal\Component\Annotation\Plugin;

/**
 * Defines an abstract base class for all views plugin annotations.
 */
abstract class ViewsPluginAnnotationBase extends Plugin implements AnnotationInterface {

  /**
   * A class to make the plugin derivative aware.
   *
   * @var string
   *
   * @see \Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator
   */
  public $derivative;

  /**
   * Whether or not to register a theme function automatically.
   *
   * @var bool (optional)
   */
  public $register_theme = TRUE;

}

Classes

Namesort descending Description
ViewsPluginAnnotationBase Defines an abstract base class for all views plugin annotations.