function FieldTypeCategory::getLabel

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

Overrides FieldTypeCategoryInterface::getLabel

File

core/lib/Drupal/Core/Field/FieldTypeCategory.php, line 17

Class

FieldTypeCategory
Default object used for field_type_categories plugins.

Namespace

Drupal\Core\Field

Code

public function getLabel() : string|\Stringable {
    return $this->pluginDefinition['label'];
}

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