DraggableListBuilderTrait::$weightKey

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php \Drupal\Core\Entity\DraggableListBuilderTrait::weightKey

Name of the entity's weight field or FALSE if no field is provided.

Type: string|bool

File

core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php, line 34

Class

DraggableListBuilderTrait
Provides a trait for draggable listings of entities.

Namespace

Drupal\Core\Entity

Code

protected $weightKey = FALSE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.