You are here

public function WebformHandlerBase::setHandlerId in Webform 6.x

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

Sets the id for this webform handler.

Parameters

int $handler_id: The handler_id for this webform handler.

Return value

$this

Overrides WebformHandlerInterface::setHandlerId

File

src/Plugin/WebformHandlerBase.php, line 212

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function setHandlerId($handler_id) {
  $this->handler_id = $handler_id;
  return $this;
}