You are here

public function WebformVariantInterface::setWeight in Webform 8.5

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

Sets the weight for this webform variant.

Parameters

int $weight: The weight for this webform variant.

Return value

$this

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

File

src/Plugin/WebformVariantInterface.php, line 150

Class

WebformVariantInterface
Defines the interface for webform variants.

Namespace

Drupal\webform\Plugin

Code

public function setWeight($weight);