Skip to main content
148
results
Andrew Fletcher
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're attempting to run composer update "drupal/core-*" --with-all-dependencies...to update to the latest 9.2.x version. Yet instead you are finding 9.3.6 installed. How do you use caret version constraint for core-recommended?  Caret means "any compatible version" which as of today is version 9.3.  However, if you want to stay on 9.2 you use a 9.2.* version constraint. Minor updates only introduce...
Andrew Fletcher
Have you tried adding custom synonyms to Solr on Drupal? How did you go? What do...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
Is Docker installed? Check if your installation is ok and spin up Docker as...
Andrew Fletcher
Create and push to Docker Hub Creating your own custom image... you need to have...
Andrew Fletcher
If you are using theme_get_settings, such as: $value = trim(theme_get_setting('my_setting')); Then in your code editor you will also be seeing undefined  function 'theme_get_setting'.  This function has been deprecated for some time.   Instead, you need to use Passing the theme.manager and theme.initialization services to theme_handler constructor as optional parameters is deprecated. These parameters are also mandatory. $theme_handler = \Drupal::service('theme_handler');Get...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Creating URL's in Drupal programmatically: Internal path use...
Andrew Fletcher
Working in Drupal 9.x, I was loading images via the Media module.  Below 1...
Andrew Fletcher
Have you tried to run a composer update script that has bower-asset/jquery-ui-slider-pips set?  I have and realised that jquery-ui-slider-pips package had been removed.  So I added it back, and ran the command composer update. composer update Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires bower-asset/jquery-ui-slider-pips, it...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit...
Andrew Fletcher
Have you noticed through your Google account that there are items being indexed...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
Andrew Fletcher
In drupal 9 for logging you can use logger service to log array data...