public function WebformHandlerBase::disable in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::disable()
Disables the webform handler.
Return value
$this
Overrides WebformHandlerInterface::disable
File
- src/
Plugin/ WebformHandlerBase.php, line 364
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function disable() {
return $this
->setStatus(FALSE);
}