class WebformOptionsCustomEntityDeriver in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_options_custom/src/Plugin/Derivative/WebformOptionsCustomEntityDeriver.php \Drupal\webform_options_custom\Plugin\Derivative\WebformOptionsCustomEntityDeriver
Provides webform custom options entity reference elements instances.
Hierarchy
- class \Drupal\Component\Plugin\Derivative\DeriverBase implements DeriverInterface
- class \Drupal\webform_options_custom\Plugin\Derivative\WebformOptionsCustomDeriverBase implements ContainerDeriverInterface uses StringTranslationTrait, WebformEntityStorageTrait
- class \Drupal\webform_options_custom\Plugin\Derivative\WebformOptionsCustomEntityDeriver
- class \Drupal\webform_options_custom\Plugin\Derivative\WebformOptionsCustomDeriverBase implements ContainerDeriverInterface uses StringTranslationTrait, WebformEntityStorageTrait
Expanded class hierarchy of WebformOptionsCustomEntityDeriver
See also
\Drupal\webform_options_custom\Plugin\WebformElement\WebformOptionsCustom
File
- modules/
webform_options_custom/ src/ Plugin/ Derivative/ WebformOptionsCustomEntityDeriver.php, line 10
Namespace
Drupal\webform_options_custom\Plugin\DerivativeView source
class WebformOptionsCustomEntityDeriver extends WebformOptionsCustomDeriverBase {
/**
* {@inheritdoc}
*/
protected $type = 'entity_reference';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DeriverBase:: |
protected | property | List of derivative definitions. | 1 |
DeriverBase:: |
public | function |
Gets the definition of a derivative plugin. Overrides DeriverInterface:: |
|
StringTranslationTrait:: |
protected | property | The string translation service. | 4 |
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. | |
WebformEntityStorageTrait:: |
protected | property | An associate array of entity type storage aliases. | |
WebformEntityStorageTrait:: |
protected | property | The entity type manager. | 5 |
WebformEntityStorageTrait:: |
protected | function | Retrieves the entity storage. | |
WebformEntityStorageTrait:: |
protected | function | Retrieves the webform submission storage. | |
WebformEntityStorageTrait:: |
protected | function | Retrieves the webform storage. | |
WebformEntityStorageTrait:: |
public | function | Implements the magic __get() method. | |
WebformOptionsCustomDeriverBase:: |
public static | function |
Creates a new class instance. Overrides ContainerDeriverInterface:: |
|
WebformOptionsCustomDeriverBase:: |
public | function |
Gets the definition of all derivatives of a base plugin. Overrides DeriverBase:: |
|
WebformOptionsCustomDeriverBase:: |
public | function | Constructs new WebformReusableCompositeDeriver. | |
WebformOptionsCustomEntityDeriver:: |
protected | property |
The type of custom element (element or entity_reference). Overrides WebformOptionsCustomDeriverBase:: |