Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 41346

Use it for questions about rendering or modifying the HTML markup produced by a module/theme.

1 vote
1 answer
47 views

Any way to customize default nomask used in file_scan_directory() to allow Node.js modules?

I would like to use Node.js modules (such as grunt-contrib-imagemin) in my Drupal theme, but that adds *.info files which confuses Drupal. If there were some way to change the default value of nomask …
Mike Godin's user avatar
1 vote

Prevent trigger of other hook_preprocess_HOOK()

Here's an implementation for Drupal 9 that makes MYMODULE_preprocess_image_style() run first: /** * Implements hook_theme_registry_alter(). * * Makes MYMODULE_preprocess_image_style() run first. * …
Mike Godin's user avatar
3 votes
1 answer
227 views

How to add highlighting to exposed views_autocomplete_filter in Drupal 8

Is there a way (a hook perhaps) that would allow me to modify the autocomplete fields returned by an exposed views_autocomplete_filter field? I'd like to style the text typed into the field different …
Mike Godin's user avatar
2 votes

How to add highlighting to exposed views_autocomplete_filter in Drupal 8

So it seems it is necessary to extend the ViewsAutocompleteFiltersController class to do this. In order to override the routing so that a custom controller can be used instead, an entry must be added …
Mike Godin's user avatar