You are here

class ViewsReferenceSetting in Views Reference Field 8.2

Defines a views reference setting item annotation object.

Hierarchy

Expanded class hierarchy of ViewsReferenceSetting

See also

\Drupal\viewsreference\Plugin\ViewsReferenceSettingManager

Plugin API

5 classes are annotated with ViewsReferenceSetting
ViewsReferenceArgument in src/Plugin/ViewsReferenceSetting/ViewsReferenceArgument.php
The views reference setting argument plugin.
ViewsReferenceLimit in src/Plugin/ViewsReferenceSetting/ViewsReferenceLimit.php
The views reference setting limit results plugin.
ViewsReferenceOffset in src/Plugin/ViewsReferenceSetting/ViewsReferenceOffset.php
The views reference setting offset results plugin.
ViewsReferencePager in src/Plugin/ViewsReferenceSetting/ViewsReferencePager.php
The views reference setting pager plugin.
ViewsReferenceTitle in src/Plugin/ViewsReferenceSetting/ViewsReferenceTitle.php
The views reference setting title plugin.

File

src/Annotation/ViewsReferenceSetting.php, line 15

Namespace

Drupal\viewsreference\Annotation
View source
class ViewsReferenceSetting extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The field default value.
   *
   * @var mixed
   */
  public $default_value;

}

Members

Namesort descending Modifiers Type Description Overrides
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2
ViewsReferenceSetting::$default_value public property The field default value.
ViewsReferenceSetting::$id public property The plugin ID.
ViewsReferenceSetting::$label public property The label of the plugin.