abstract protected function EntityDisplayFormBase::getDefaultPlugin in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDefaultPlugin()
- 9 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDefaultPlugin()
Returns the ID of the default widget or formatter plugin for a field type.
Parameters
string $field_type: The field type.
Return value
string The widget or formatter plugin ID.
1 call to EntityDisplayFormBase::getDefaultPlugin()
- EntityDisplayFormBase::buildFieldRow in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Builds the table row structure for a single field.
1 method overrides EntityDisplayFormBase::getDefaultPlugin()
- EntityFormDisplayEditForm::getDefaultPlugin in core/
modules/ field_ui/ src/ Form/ EntityFormDisplayEditForm.php - Returns the ID of the default widget or formatter plugin for a field type.
File
- core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php, line 775
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\FormCode
protected abstract function getDefaultPlugin($field_type);