You are here

public function WebformEntityInjectionInterface::setWebform in Webform 6.x

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

Set the webform that this is handler is attached to.

Parameters

\Drupal\webform\WebformInterface $webform: A webform.

Return value

$this This webform handler.

File

src/Plugin/WebformEntityInjectionInterface.php, line 23

Class

WebformEntityInjectionInterface
Defines the interface for webform entity injection interface.

Namespace

Drupal\webform\Plugin

Code

public function setWebform(WebformInterface $webform = NULL);