How to add the target attribute to form in Drupal 8/9
By using hook_form_FORM_ID_alter() to add a new attribute to a specific form or existing form. For example, if From_ID is views_exposed_form then add the target attribute to that form by using the following snippet.
Share
share your add link
https%3A%2F%2Fmycode.blog%2Flakshmi%2Fhow-add-target-attribute-form-drupal-89%0A
Share in social
Comments