You are here

constant EntityReferenceHierarchy::HIERARCHY_MIN_CHILD_WEIGHT in Entity Reference Hierarchy 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldType/EntityReferenceHierarchy.php \Drupal\entity_hierarchy\Plugin\Field\FieldType\EntityReferenceHierarchy::HIERARCHY_MIN_CHILD_WEIGHT

Defines the minimum weight of a child (but has the highest priority).

File

src/Plugin/Field/FieldType/EntityReferenceHierarchy.php, line 37

Class

EntityReferenceHierarchy
Plugin implementation of the 'entity_reference_hierarchy' field type.

Namespace

Drupal\entity_hierarchy\Plugin\Field\FieldType

Code

const HIERARCHY_MIN_CHILD_WEIGHT = -50;