public function FieldConfigEditForm::getTitle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/field_ui/src/Form/FieldConfigEditForm.php \Drupal\field_ui\Form\FieldConfigEditForm::getTitle()
- 10 core/modules/field_ui/src/Form/FieldConfigEditForm.php \Drupal\field_ui\Form\FieldConfigEditForm::getTitle()
The _title_callback for the field settings form.
Parameters
\Drupal\field\FieldConfigInterface $field_config: The field.
Return value
string The label of the field.
File
- core/
modules/ field_ui/ src/ Form/ FieldConfigEditForm.php, line 230
Class
- FieldConfigEditForm
- Provides a form for the field settings form.
Namespace
Drupal\field_ui\FormCode
public function getTitle(FieldConfigInterface $field_config) {
return $field_config
->label();
}