You are here

public function WebformElementBase::getPluginLabel in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::getPluginLabel()

Gets the label of the plugin instance.

Return value

string The label of the plugin instance.

Overrides WebformElementInterface::getPluginLabel

18 calls to WebformElementBase::getPluginLabel()
Details::getElementSelectorOptions in src/Plugin/WebformElement/Details.php
Get an element's selectors as options.
OptionsBase::form in src/Plugin/WebformElement/OptionsBase.php
Gets the actual configuration webform array to be built.
OptionsBase::getElementSelectorInputsOptions in src/Plugin/WebformElement/OptionsBase.php
Get an element's (sub)inputs selectors as options.
OptionsBase::getElementSelectorOptions in src/Plugin/WebformElement/OptionsBase.php
WebformAddress::getPluginLabel in src/Plugin/WebformElement/WebformAddress.php
Gets the label of the plugin instance.

... See full list

3 methods override WebformElementBase::getPluginLabel()
WebformAddress::getPluginLabel in src/Plugin/WebformElement/WebformAddress.php
Gets the label of the plugin instance.
WebformLocationGeocomplete::getPluginLabel in modules/webform_location_geocomplete/src/Plugin/WebformElement/WebformLocationGeocomplete.php
Gets the label of the plugin instance.
WebformLocationPlaces::getPluginLabel in src/Plugin/WebformElement/WebformLocationPlaces.php
Gets the label of the plugin instance.

File

src/Plugin/WebformElementBase.php, line 511

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

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