protected FieldUninstallValidator::getFieldTypeLabel($field_type)
Returns the label for a specified field type.
Parameters
string $field_type: The field type.
Return value
string The field type label.
File
- core/modules/field/src/FieldUninstallValidator.php, line 98
Class
- FieldUninstallValidator
- Prevents uninstallation of modules providing active field storage.
Namespace
Drupal\field
Code
protected function getFieldTypeLabel($field_type) { return $this->fieldTypeManager->getDefinitions()[$field_type]['label']; }
Please login to continue.