You are here

class WebformOptionsCustomDeriver in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_options_custom/src/Plugin/Derivative/WebformOptionsCustomDeriver.php \Drupal\webform_options_custom\Plugin\Derivative\WebformOptionsCustomDeriver

Provides webform custom options elements instances.

Hierarchy

Expanded class hierarchy of WebformOptionsCustomDeriver

See also

\Drupal\webform_options_custom\Plugin\WebformElement\WebformOptionsCustom

File

modules/webform_options_custom/src/Plugin/Derivative/WebformOptionsCustomDeriver.php, line 10

Namespace

Drupal\webform_options_custom\Plugin\Derivative
View source
class WebformOptionsCustomDeriver extends WebformOptionsCustomDeriverBase {

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

}

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. 1
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.
WebformOptionsCustomDeriver::$type protected property The type of custom element (element or entity_reference). Overrides WebformOptionsCustomDeriverBase::$type
WebformOptionsCustomDeriverBase::$optionsCustomStorage protected property The custom options storage.
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.