You are here

public function WebformInterface::updateWebformVariant in Webform 8.5

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

Update a webform variant for this webform.

Parameters

\Drupal\webform\Plugin\WebformVariantInterface $variant: The webform variant object.

Return value

$this

1 method overrides WebformInterface::updateWebformVariant()
Webform::updateWebformVariant in src/Entity/Webform.php
Update a webform variant for this webform.

File

src/WebformInterface.php, line 1088

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function updateWebformVariant(WebformVariantInterface $variant);