You are here

public function WidgetInterface::setWeight in Entity Browser 8.2

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

Sets the widget's weight.

Parameters

int $weight: New plugin weight.

Return value

\Drupal\entity_browser\WidgetInterface This object.

1 method overrides WidgetInterface::setWeight()
WidgetBase::setWeight in src/WidgetBase.php
Sets the widget's weight.

File

src/WidgetInterface.php, line 72

Class

WidgetInterface
Defines the interface for entity browser widgets.

Namespace

Drupal\entity_browser

Code

public function setWeight($weight);