Closed (fixed)
Project:
Background Image
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2019 at 04:49 UTC
Updated:
8 Apr 2020 at 04:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
cashwilliams commented$this->themeManager->alter() might attempt to allow it to be overridden, but I've copied it to my custom theme directory and any changes within are not reflected.
Comment #3
markhalliwellSimply creating the file in your theme's template directory wouldn't cause it to be picked up.
You, currently, have to provide the actual path to your theme's implementation.
This template isn't part of the theme registry (which automatically adds these paths).
There's too much overhead and also intended for HTML templates, not CSS.
Instead, a full path to the template must be provided.
See: https://git.drupalcode.org/project/background_image/-/blob/8.x-1.x/backg...
---
That being said, I suppose it would make sense to just auto detect this file in a theme to begin with and then run the alters.
Comment #4
markhalliwell