public function WebformVariantFormBase::getWebform in Webform 6.x
Same name and namespace in other branches
- 8.5 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\FormCode
public function getWebform() {
return $this->webform;
}