public property FieldWidget::$weight

An integer to determine the weight of this widget relative to other widgets in the Field UI when selecting a widget for a given field.

Type: int optional

File

core/lib/Drupal/Core/Field/Annotation/FieldWidget.php, line 78

Class

FieldWidget
Defines a FieldWidget annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $weight = NULL;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!Annotation!FieldWidget.php/property/FieldWidget::weight/8.1.x