function FieldTypeCategory::getWeight
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Field/FieldTypeCategory.php \Drupal\Core\Field\FieldTypeCategory::getWeight()
Overrides FieldTypeCategoryInterface::getWeight
File
-
core/
lib/ Drupal/ Core/ Field/ FieldTypeCategory.php, line 31
Class
- FieldTypeCategory
- Default object used for field_type_categories plugins.
Namespace
Drupal\Core\FieldCode
public function getWeight() : int {
return $this->pluginDefinition['weight'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.