You are here

class WebformCustomComposite in Webform 8.5

Same name in this branch
  1. 8.5 src/Element/WebformCustomComposite.php \Drupal\webform\Element\WebformCustomComposite
  2. 8.5 src/Plugin/WebformElement/WebformCustomComposite.php \Drupal\webform\Plugin\WebformElement\WebformCustomComposite
Same name and namespace in other branches
  1. 6.x src/Element/WebformCustomComposite.php \Drupal\webform\Element\WebformCustomComposite

Provides a webform custom composite element.

Plugin annotation

@FormElement("webform_custom_composite");

Hierarchy

Expanded class hierarchy of WebformCustomComposite

1 #type use of WebformCustomComposite
WebformExampleCustomFormSettingsForm::buildForm in modules/webform_example_custom_form/src/Form/WebformExampleCustomFormSettingsForm.php
Form constructor.

File

src/Element/WebformCustomComposite.php, line 10

Namespace

Drupal\webform\Element
View source
class WebformCustomComposite extends WebformMultiple {

}

Members

Namesort descending Modifiers Type Description Overrides
DependencySerializationTrait::$_entityStorages protected property An array of entity type IDs keyed by the property name of their storages.
DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization.
DependencySerializationTrait::__sleep public function 1
DependencySerializationTrait::__wakeup public function 2
FormElement::processAutocomplete public static function Adds autocomplete functionality to elements.
FormElement::processPattern public static function #process callback for #pattern form element property.
FormElement::validatePattern public static function #element_validate callback for #pattern form element property.
MessengerTrait::$messenger protected property The messenger. 29
MessengerTrait::messenger public function Gets the messenger. 29
MessengerTrait::setMessenger public function Sets the messenger.
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 3
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
PluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. 92
RenderElement::preRenderAjaxForm public static function Adds Ajax information about an element to communicate with JavaScript.
RenderElement::preRenderGroup public static function Adds members of this group as actual elements for rendering.
RenderElement::processAjaxForm public static function Form element processing handler for the #ajax form property. 1
RenderElement::processGroup public static function Arranges elements into groups.
RenderElement::setAttributes public static function Sets a form element's class attribute. Overrides ElementInterface::setAttributes
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.
WebformMultiple::addItemsSubmit public static function Webform submission handler for adding more items.
WebformMultiple::addItemSubmit public static function Webform submission handler for adding an item.
WebformMultiple::ajaxCallback public static function Webform submission Ajax callback the returns the list table.
WebformMultiple::buildElementHeader protected static function Build a single element header.
WebformMultiple::buildElementRow protected static function Build a single element row.
WebformMultiple::buildElementTitle protected static function Build an element's title with help.
WebformMultiple::CARDINALITY_UNLIMITED constant Value indicating a element accepts an unlimited number of values.
WebformMultiple::convertValuesToItems public static function Convert an array containing of values (elements or _item_ and weight) to an array of items.
WebformMultiple::convertValueToItem public static function Convert value array containing (elements or _item_ and weight) to an item.
WebformMultiple::getInfo public function Returns the element properties for this element. Overrides ElementInterface::getInfo
WebformMultiple::getStorageKey public static function Get unique key used to store the number of items for an element.
WebformMultiple::hasRequireElement protected static function Determine if any sub-element is required.
WebformMultiple::initializeElement protected static function Initialize element.
WebformMultiple::initializeElementRecursive protected static function Initialize, prepare, and finalize composite sub-elements recursively.
WebformMultiple::isEmpty public static function Check if array is empty.
WebformMultiple::isHidden protected static function Determine if an element is hidden.
WebformMultiple::processWebformMultiple public static function Process items and build multiple elements widget. 1
WebformMultiple::removeItemSubmit public static function Webform submission handler for removing an item.
WebformMultiple::setElementDefaultValue protected static function Set element row default value recursively.
WebformMultiple::setElementRowDefaultValueRecursive protected static function Set element row default value recursively.
WebformMultiple::setElementRowParentsRecursive protected static function Set element row parents recursively.
WebformMultiple::validateUniqueKeys protected static function Validate composite element has unique keys.
WebformMultiple::validateWebformMultiple public static function Validates webform multiple element. 1
WebformMultiple::valueCallback public static function Determines how user input is mapped to an element's #value property. Overrides FormElement::valueCallback