public function WebformVariantBase::enable in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformVariantBase.php \Drupal\webform\Plugin\WebformVariantBase::enable()
Enables the webform variant.
Return value
$this
Overrides WebformVariantInterface::enable
File
- src/
Plugin/ WebformVariantBase.php, line 246
Class
- WebformVariantBase
- Provides a base class for a webform variant.
Namespace
Drupal\webform\PluginCode
public function enable() {
return $this
->setStatus(TRUE);
}