You are here

public function WebformVariantBase::getElementKey in Webform 8.5

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

Returns the element key of the webform variant.

Return value

string The webform element key.

Overrides WebformVariantInterface::getElementKey

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

File

src/Plugin/WebformVariantBase.php, line 171

Class

WebformVariantBase
Provides a base class for a webform variant.

Namespace

Drupal\webform\Plugin

Code

public function getElementKey() {
  return $this->element_key;
}