You are here

public function WebformVariantFormBase::getWebform in Webform 8.5

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

Get the webform variant's webform.

Return value

\Drupal\webform\WebformInterface A webform.

1 call to WebformVariantFormBase::getWebform()
WebformVariantFormBase::getVariantElementsAsOptions in src/Form/WebformVariantFormBase.php
Get key/value array of webform variant elements.

File

src/Form/WebformVariantFormBase.php, line 327

Class

WebformVariantFormBase
Provides a base webform for webform variants.

Namespace

Drupal\webform\Form

Code

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