You are here

public function WebformHandlerBase::setStatus in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 311

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function setStatus($status) {
  $this->status = $status;
  return $this;
}