function FieldTypeCategoryInterface::getWeight

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Field/FieldTypeCategoryInterface.php \Drupal\Core\Field\FieldTypeCategoryInterface::getWeight()

Returns the field group weight.

Return value

int The weight.

1 method overrides FieldTypeCategoryInterface::getWeight()
FieldTypeCategory::getWeight in core/lib/Drupal/Core/Field/FieldTypeCategory.php
Returns the field group weight.

File

core/lib/Drupal/Core/Field/FieldTypeCategoryInterface.php, line 32

Class

FieldTypeCategoryInterface
Provides an object that returns the category info about the field type.

Namespace

Drupal\Core\Field

Code

public function getWeight() : int;

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