function EntityDisplayFormBase::getDefaultPlugin
Same name and namespace in other branches
- 11.x 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.
File
-
core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php, line 775
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\FormCode
abstract protected function getDefaultPlugin($field_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.