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.
Iam trying to alter the search-block-form (edit tooltip message, add additional html elements and rearange it), but using the hook_form_FORM_ID_alter does not seem to be the appropriate way to do it. Printing dsm($form)
does not list the attributes I am looking for (tooltip attribute).
The question is, where can I add/remove html elements and edit the tooltip of the search-block-form?
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedhanssulo created an issue.
THIS CAN BE CLOSED AND REMOVED.
Comment #2
markhalliwellYou should probably use the
@BootstrapForm
plugin instead of@BootstrapAlter
.