public function WebformHandlerBase::getLabel in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::getLabel()
Returns the label of the webform handler.
Return value
int|string Either the integer label of the webform handler, or an empty string.
Overrides WebformHandlerInterface::getLabel
3 calls to WebformHandlerBase::getLabel()
- ScheduleEmailWebformHandler::alterForm in modules/
webform_scheduled_email/ src/ Plugin/ WebformHandler/ ScheduleEmailWebformHandler.php - Alter webform submission form.
- WebformHandlerBase::getConfiguration in src/
Plugin/ WebformHandlerBase.php - Gets this plugin's configuration.
- WebformHandlerBase::label in src/
Plugin/ WebformHandlerBase.php - Returns the webform handler label.
File
- src/
Plugin/ WebformHandlerBase.php, line 228
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function getLabel() {
return $this->label ?: $this->pluginDefinition['label'];
}