public function WebformVariantInterface::setLabel in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformVariantInterface.php \Drupal\webform\Plugin\WebformVariantInterface::setLabel()
Sets the label for this webform variant.
Parameters
string $label: The label for this webform variant.
Return value
$this
1 method overrides WebformVariantInterface::setLabel()
- WebformVariantBase::setLabel in src/
Plugin/ WebformVariantBase.php - Sets the label for this webform variant.
File
- src/
Plugin/ WebformVariantInterface.php, line 114
Class
- WebformVariantInterface
- Defines the interface for webform variants.
Namespace
Drupal\webform\PluginCode
public function setLabel($label);