You are here

public function YamlFormElementBase::getPluginLabel in YAML Form 8

Gets the label of the plugin instance.

Return value

string The label of the plugin instance.

Overrides YamlFormElementInterface::getPluginLabel

10 calls to YamlFormElementBase::getPluginLabel()
Details::getElementSelectorOptions in src/Plugin/YamlFormElement/Details.php
Get an element's selectors as options.
OptionsBase::form in src/Plugin/YamlFormElement/OptionsBase.php
Gets the actual configuration form array to be built.
OptionsBase::getElementSelectorInputsOptions in src/Plugin/YamlFormElement/OptionsBase.php
Get an element's (sub)inputs selectors as options.
YamlFormCompositeBase::form in src/Plugin/YamlFormElement/YamlFormCompositeBase.php
Gets the actual configuration form array to be built.
YamlFormCompositeBase::getElementSelectorOptions in src/Plugin/YamlFormElement/YamlFormCompositeBase.php
Get an element's selectors as options.

... See full list

File

src/YamlFormElementBase.php, line 238

Class

YamlFormElementBase
Provides a base class for a form element.

Namespace

Drupal\yamlform

Code

public function getPluginLabel() {
  return $this->pluginDefinition['label'];
}