You are here

public function WebformVariantInterface::setVariantId in Webform 8.5

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

Sets the id for this webform variant.

Parameters

int $variant_id: The variant_id for this webform variant.

Return value

$this

1 method overrides WebformVariantInterface::setVariantId()
WebformVariantBase::setVariantId in src/Plugin/WebformVariantBase.php
Sets the id for this webform variant.

File

src/Plugin/WebformVariantInterface.php, line 78

Class

WebformVariantInterface
Defines the interface for webform variants.

Namespace

Drupal\webform\Plugin

Code

public function setVariantId($variant_id);