public function WidgetInterface::setWeight in Entity Browser 8
Same name and namespace in other branches
- 8.2 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_browserCode
public function setWeight($weight);