Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am using a custom module to add an extra field to breadcrumbs, which was based on the accepted answer in this post on Drupal Answers.
I made a couple of changes to make the module Drupal 9-compatible, which I have marked by comments in the code below. As it stands, this modified mod ule still runs in Drupal 8.9, but it still will not work in Drupal 9.1. Can anyone spot why?
I've created a tag in git 8.x-1.0 and added a release to it. Is it possible to move this tag to the latest commit of 8.x-1.x?
I've tried:
git tag --force 8.x-1.0 <latest-commit-id>
git push --force --tags
remote: The tag 8.x-1.0 is tied to a release on Drupal.org, and cannot be relocated or deleted.
remote: error: hook declined to update refs/tags/8.x-1.0
i want to higher the speed of durpal8 by filling the cache automatically. Has anyone an idea for a strategie?
First i developed custom module by clearing cache automatically.
drupal_flush_all_caches();
The cache will be cleared by my module. But the problem is, that pagespeed is very slow for the user who starts a site first. so i want to fill the cache automatically.
I have a module which has created a library. I've attached that library to a library and the css files are loaded when the template is loaded.
But the css styles are being overrided with the themes css stles.
For example the css file in my library will have button { padding: 5px; }, but my theme css will have button { padding: 10px; }, and the button gets padding 10px from theme instead of 5px from library.