Install
Works with Drupal: ^8 || ^9Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
New functionality
New ExtraFieldForm plugin type which allows developers to create custom form elements for fieldable entities. These form elements can be used for markup, additional input element, to alter the entity form or all at the same time.
Adds a description property to ExtraFieldDisplay plugins. The description is also available in the new ExtraFieldForm plugin. The description is optional.
API
The API is backwards compatible with the 8.x-1.x branch.
A number of methods have been moved from the ExtraFieldDisplayManager class into a new ExtraFieldManagerBase parent class. These methods are shared by ExtraFieldDisplayManager and ExtraFieldFormManager. Because ExtraFieldDisplayManager extends ExtraFieldManagerBase this change is backwards compatible.
ExtraFieldManagerBase::matchEntityBundleKeyExtraFieldManagerBase::supportedEntityBundlesExtraFieldManagerBase::allEntityBundlesExtraFieldManagerBase::fieldNameExtraFieldManagerBase::entityBundleKey
Adds hook_extra_field_form_info_alter() to alter the ExtraFieldForm plugin info.