You are here

public function WebformInterface::addWebformHandler in Webform 8.5

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

Saves a webform handler for this webform.

Parameters

\Drupal\webform\Plugin\WebformHandlerInterface $handler: The webform handler object.

Return value

string The webform handler ID.

1 method overrides WebformInterface::addWebformHandler()
Webform::addWebformHandler in src/Entity/Webform.php
Saves a webform handler for this webform.

File

src/WebformInterface.php, line 966

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function addWebformHandler(WebformHandlerInterface $handler);