Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am trying to add delete / remove functionality in FAQ module field name (field_faq). but i cant do that can some one guide me how can i add such functionality in drupal 8. can some one provide the code which i can add in my file
temporary i added in core module (multiple_fields_remove_button.module) this code
function hook_multiple_field_remove_button_field_alter(array &$includedFields) {
$includedFields = ['field_faq'];
}
but nothing happens kindly guide me how can i add delete functionality for that filed please
Comments
Comment #2
ahaomar CreditAttribution: ahaomar commented