interface ViewsReferenceSettingInterface in Views Reference Field 8.2
Defines an interface for views reference setting plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\viewsreference\Plugin\ViewsReferenceSettingInterface
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\PluginView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
ViewsReferenceSettingInterface:: |
public | function | Get the form field array. | 5 |
ViewsReferenceSettingInterface:: |
public | function | Alter the view object. | 5 |