You are here

class WebformOptionsCustomEntityDeriver in Webform 6.x

Same name and namespace in other branches
  1. 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

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\Derivative
View source
class WebformOptionsCustomEntityDeriver extends WebformOptionsCustomDeriverBase {

  /**
   * {@inheritdoc}
   */
  protected $type = 'entity_reference';

}

Members

Namesort descending Modifiers Type Description Overrides
DeriverBase::$derivatives protected property List of derivative definitions. 1
DeriverBase::getDerivativeDefinition public function Gets the definition of a derivative plugin. Overrides DeriverInterface::getDerivativeDefinition
StringTranslationTrait::$stringTranslation protected property The string translation service. 4
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
WebformEntityStorageTrait::$entityStorageToTypeMappings protected property An associate array of entity type storage aliases.
WebformEntityStorageTrait::$entityTypeManager protected property The entity type manager. 5
WebformEntityStorageTrait::getEntityStorage protected function Retrieves the entity storage.
WebformEntityStorageTrait::getSubmissionStorage protected function Retrieves the webform submission storage.
WebformEntityStorageTrait::getWebformStorage protected function Retrieves the webform storage.
WebformEntityStorageTrait::__get public function Implements the magic __get() method.
WebformOptionsCustomDeriverBase::create public static function Creates a new class instance. Overrides ContainerDeriverInterface::create
WebformOptionsCustomDeriverBase::getDerivativeDefinitions public function Gets the definition of all derivatives of a base plugin. Overrides DeriverBase::getDerivativeDefinitions
WebformOptionsCustomDeriverBase::__construct public function Constructs new WebformReusableCompositeDeriver.
WebformOptionsCustomEntityDeriver::$type protected property The type of custom element (element or entity_reference). Overrides WebformOptionsCustomDeriverBase::$type