public function WebformHandlerBase::disable in Webform 6.x
Same name and namespace in other branches
- 8.5 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 303
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function disable() {
return $this
->setStatus(FALSE);
}