You are here

public function WebformVariantInterface::getWeight in Webform 8.5

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

Returns the weight of the webform variant.

Return value

int|string Either the integer weight of the webform variant, or an empty string.

1 method overrides WebformVariantInterface::getWeight()
WebformVariantBase::getWeight in src/Plugin/WebformVariantBase.php
Returns the weight of the webform variant.

File

src/Plugin/WebformVariantInterface.php, line 140

Class

WebformVariantInterface
Defines the interface for webform variants.

Namespace

Drupal\webform\Plugin

Code

public function getWeight();