You are here

public function WebformVariantFormBase::getWebformVariant in Webform 6.x

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

Get the webform variant.

Return value

\Drupal\webform\Plugin\WebformVariantInterface A webform variant.

File

src/Form/WebformVariantFormBase.php, line 337

Class

WebformVariantFormBase
Provides a base webform for webform variants.

Namespace

Drupal\webform\Form

Code

public function getWebformVariant() {
  return $this->webformVariant;
}