You are here

interface ViewsReferenceSettingInterface in Views Reference Field 8.2

Defines an interface for views reference setting plugins.

Hierarchy

Expanded class hierarchy of ViewsReferenceSettingInterface

All classes that implement ViewsReferenceSettingInterface

5 files declare their use of ViewsReferenceSettingInterface
ViewsReferenceArgument.php in src/Plugin/ViewsReferenceSetting/ViewsReferenceArgument.php
ViewsReferenceLimit.php in src/Plugin/ViewsReferenceSetting/ViewsReferenceLimit.php
ViewsReferenceOffset.php in src/Plugin/ViewsReferenceSetting/ViewsReferenceOffset.php
ViewsReferencePager.php in src/Plugin/ViewsReferenceSetting/ViewsReferencePager.php
ViewsReferenceTitle.php in src/Plugin/ViewsReferenceSetting/ViewsReferenceTitle.php

File

src/Plugin/ViewsReferenceSettingInterface.php, line 11

Namespace

Drupal\viewsreference\Plugin
View source
interface ViewsReferenceSettingInterface extends PluginInspectionInterface {

  /**
   * Get the form field array.
   *
   * @param array $form_field
   *   The form field array.
   */
  public function alterFormField(array &$form_field);

  /**
   * Alter the view object.
   *
   * @param \Drupal\views\ViewExecutable $view
   *   The view object to alter.
   * @param mixed $value
   *   The field value.
   */
  public function alterView(ViewExecutable $view, $value);

}

Members

Namesort descending Modifiers Type Description Overrides
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
ViewsReferenceSettingInterface::alterFormField public function Get the form field array. 5
ViewsReferenceSettingInterface::alterView public function Alter the view object. 5