You are here

public function WebformHandlerBase::getWeight in Webform 6.x

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

Returns the weight of the webform handler.

Return value

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

Overrides WebformHandlerInterface::getWeight

1 call to WebformHandlerBase::getWeight()
WebformHandlerBase::getConfiguration in src/Plugin/WebformHandlerBase.php
Gets this plugin's configuration.

File

src/Plugin/WebformHandlerBase.php, line 289

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function getWeight() {
  return $this->weight;
}