You are here

public function WebformHandlerBase::getWebform in Webform 8.5

Get the webform that this handler is attached to.

@todo Webform 8.x-6.x: Replace with WebformEntityInjectionInterface.

Return value

\Drupal\webform\WebformInterface A webform.

Overrides WebformHandlerInterface::getWebform

8 calls to WebformHandlerBase::getWebform()
OptionsLimitWebformHandler::getElements in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Get key/value array of webform options or boolean elements.
OptionsLimitWebformHandler::getTableSelectElements in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Get table select elements.
OptionsLimitWebformHandler::getTotalQuery in modules/webform_options_limit/src/Plugin/WebformHandler/OptionsLimitWebformHandler.php
Get base query for options and boolean limit totals.
RemotePostWebformHandler::buildConfigurationForm in src/Plugin/WebformHandler/RemotePostWebformHandler.php
Form constructor.
RemotePostWebformHandler::displayCustomResponseMessage in src/Plugin/WebformHandler/RemotePostWebformHandler.php
Display custom response message.

... See full list

File

src/Plugin/WebformHandlerBase.php, line 198

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function getWebform() {
  return $this->webform;
}