You are here

public function WebformHandlerBase::disable in Webform 6.x

Same name and namespace in other branches
  1. 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\Plugin

Code

public function disable() {
  return $this
    ->setStatus(FALSE);
}