public function WebformHandlerBase::setStatus in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::setStatus()
Sets the status for this webform handler.
Parameters
bool $status: The status for this webform handler.
Return value
$this
Overrides WebformHandlerInterface::setStatus
2 calls to WebformHandlerBase::setStatus()
- WebformHandlerBase::disable in src/
Plugin/ WebformHandlerBase.php - Disables the webform handler.
- WebformHandlerBase::enable in src/
Plugin/ WebformHandlerBase.php - Enables the webform handler.
File
- src/
Plugin/ WebformHandlerBase.php, line 250
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function setStatus($status) {
$this->status = $status;
return $this;
}