You are here

public function WidgetBase::getWeight in Entity Browser 8.2

Same name and namespace in other branches
  1. 8 src/WidgetBase.php \Drupal\entity_browser\WidgetBase::getWeight()

Returns the widget's weight.

Return value

int Widget's weight.

Overrides WidgetInterface::getWeight

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

File

src/WidgetBase.php, line 260

Class

WidgetBase
Base class for widget plugins.

Namespace

Drupal\entity_browser

Code

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