ViewsPluginAnnotationBase.php

Same filename in other branches
  1. 9 core/modules/views/src/Annotation/ViewsPluginAnnotationBase.php
  2. 8.9.x core/modules/views/src/Annotation/ViewsPluginAnnotationBase.php
  3. 10 core/modules/views/src/Annotation/ViewsPluginAnnotationBase.php

Namespace

Drupal\views\Annotation

File

core/modules/views/src/Annotation/ViewsPluginAnnotationBase.php

View source
<?php

namespace Drupal\views\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an abstract base class for all views plugin annotations.
 */
abstract class ViewsPluginAnnotationBase extends Plugin {
    
    /**
     * Whether or not to register a theme function automatically.
     *
     * This property is optional and it does not need to be declared.
     *
     * @var bool
     */
    public $register_theme = TRUE;

}

Classes

Title Deprecated Summary
ViewsPluginAnnotationBase Defines an abstract base class for all views plugin annotations.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.