You are here

public function WebformHandlerBase::enable in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::enable()

Enables the webform handler.

Return value

$this

Overrides WebformHandlerInterface::enable

File

src/Plugin/WebformHandlerBase.php, line 357

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function enable() {
  return $this
    ->setStatus(TRUE);
}