You are here

public function WebformVariantBase::getVariantId in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformVariantBase.php \Drupal\webform\Plugin\WebformVariantBase::getVariantId()

Returns the unique ID representing the webform variant.

Return value

string The webform variant ID.

Overrides WebformVariantInterface::getVariantId

1 call to WebformVariantBase::getVariantId()
WebformVariantBase::getConfiguration in src/Plugin/WebformVariantBase.php
Gets this plugin's configuration.

File

src/Plugin/WebformVariantBase.php, line 156

Class

WebformVariantBase
Provides a base class for a webform variant.

Namespace

Drupal\webform\Plugin

Code

public function getVariantId() {
  return $this->variant_id;
}