You are here

public function WebformCiviCRMSettingsForm::getWebform in Webform CiviCRM Integration 8.5

Return value

\Drupal\webform\WebformInterface

2 calls to WebformCiviCRMSettingsForm::getWebform()
WebformCiviCRMSettingsForm::buildForm in src/Form/WebformCiviCRMSettingsForm.php
@todo slowly move parts of the D7 handling into here.
WebformCiviCRMSettingsForm::submitForm in src/Form/WebformCiviCRMSettingsForm.php
@todo find a more elegant way to handle the handler creation/removal.

File

src/Form/WebformCiviCRMSettingsForm.php, line 35

Class

WebformCiviCRMSettingsForm

Namespace

Drupal\webform_civicrm\Form

Code

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