Skip to main content
18
results
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
Working in Drupal 9.x, I was loading images via the Media module.  Below 1...
Andrew Fletcher
Setting up a new project in Docker and VS Code. Using Terminal, go to your...