You are here

public function WebformVariantInterface::setElementKey in Webform 8.5

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

Sets the element key of this webform variant.

Parameters

int $element_key: The element key for this webform variant.

Return value

$this

1 method overrides WebformVariantInterface::setElementKey()
WebformVariantBase::setElementKey in src/Plugin/WebformVariantBase.php
Sets the element key of this webform variant.

File

src/Plugin/WebformVariantInterface.php, line 96

Class

WebformVariantInterface
Defines the interface for webform variants.

Namespace

Drupal\webform\Plugin

Code

public function setElementKey($element_key);