Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldWidget.php

FieldWidget::$weight

An integer to determine weight of this widget relative to other widgets.

Other widgets are in the Field UI when selecting a widget for a given field.

This property is optional and it does not need to be declared.

Type: int

File

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

Class

FieldWidget
Defines a FieldWidget annotation object.

Namespace

Drupal\Core\Field\Annotation

Code

public $weight = NULL;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal