class WebformEntityReferenceSelectViews in Webform Views Integration 8.5
Webform views handler for entity reference select webform elements.
Hierarchy
- class \Drupal\webform_views\WebformElementViews\WebformElementViewsAbstract implements ContainerInjectionInterface, WebformElementViewsInterface uses StringTranslationTrait
- class \Drupal\webform_views\WebformElementViews\WebformDefaultViews
- class \Drupal\webform_views\WebformElementViews\WebformEntityReferenceViews
- class \Drupal\webform_views\WebformElementViews\WebformEntityReferenceSelectViews
- class \Drupal\webform_views\WebformElementViews\WebformEntityReferenceViews
- class \Drupal\webform_views\WebformElementViews\WebformDefaultViews
Expanded class hierarchy of WebformEntityReferenceSelectViews
1 file declares its use of WebformEntityReferenceSelectViews
- webform_views.module in ./
webform_views.module - Webform integration with views.
File
- src/
WebformElementViews/ WebformEntityReferenceSelectViews.php, line 10
Namespace
Drupal\webform_views\WebformElementViewsView source
class WebformEntityReferenceSelectViews extends WebformEntityReferenceViews {
/**
* {@inheritdoc}
*/
public function getElementViewsData(WebformElementInterface $element_plugin, array $element) {
$views_data = parent::getElementViewsData($element_plugin, $element);
$views_data['filter']['id'] = 'webform_submission_entity_reference_select_filter';
return $views_data;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
StringTranslationTrait:: |
protected | property | The string translation service. | 1 |
StringTranslationTrait:: |
protected | function | Formats a string containing a count of items. | |
StringTranslationTrait:: |
protected | function | Returns the number of plurals supported by a given language. | |
StringTranslationTrait:: |
protected | function | Gets the string translation service. | |
StringTranslationTrait:: |
public | function | Sets the string translation service to use. | 2 |
StringTranslationTrait:: |
protected | function | Translates a string to the current language or to a given language. | |
WebformElementViewsAbstract:: |
protected | property | Webform submission entity type. | |
WebformElementViewsAbstract:: |
protected | property | ||
WebformElementViewsAbstract:: |
public static | function |
Instantiates a new instance of this class. Overrides ContainerInjectionInterface:: |
|
WebformElementViewsAbstract:: |
protected | function | Generate views table name that represents a given element within a webform. | |
WebformEntityReferenceSelectViews:: |
public | function |
Generate views data definition that corresponds to given webform element. Overrides WebformEntityReferenceViews:: |
|
WebformEntityReferenceViews:: |
protected | property | Entity type manager service. | |
WebformEntityReferenceViews:: |
protected | function | Retrieve target entity type from provided element. | |
WebformEntityReferenceViews:: |
public | function |
Generate views data related to a given element of a given webform. Overrides WebformElementViewsAbstract:: |
|
WebformEntityReferenceViews:: |
public | function |
WebformEntityReferenceViews constructor. Overrides WebformElementViewsAbstract:: |