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.
The Read Me and project page both mention two hooks that don't seam to be implemented.
hook_styles_default_styles_alter(&$style)
hook_styles_default_presets_alter(&$style)
After noticing that they didn't get called I did a quick search of the module code and did not fine either module_implements or module_invoke calls for either. Could they be implemented in a way that I don't understand, or are they not added yet?
I'm trying to add a new preset that would be applicable for a variety of file types and it seams that this was the intended use case for these alter hooks. Are they still on the roadmap? for now I think I'll just patch the media modules locally, but
Comments
Comment #1
mirzu CreditAttribution: mirzu commentedI'm a dork.
found the drupal alter hook implemented. Sorry.