Skip to main content
153
results
Andrew Fletcher
I'm receiving an error with a path of Drupal\path_alias\AliasManager Upgrading to Drupal 9, I was running a test to see which blocks and/or modules would fail.  And there were plenty... like this AliasManager error TypeError: Argument 4 passed to Drupal\{module}\Plugin\Block\{custom_block}Block::__construct() must be an instance of Drupal\Core\Path\AliasManager, instance of Drupal\path_alias\AliasManager given, called in...
Andrew Fletcher
Let say in composer.json you have "drupal/core-recommended": "^9.2" You're...
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 a Docker ID.  Not sure, well most likely you created it to download Docker Desktop.  If you don't have one, go to Docker and sign up. In your  text editor create a file called Dockerfile in the same directory you want to have as your local site. No extension, just Dockerfile. Paste in this code and save the file: FROM nginx:latest COPY . /usr/share/nginx/htmlThis tells Docker to use the same nginx...
Andrew Fletcher
If you are using theme_get_settings, such as: $value =...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
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 Drupal\Core\Link; use Drupal\Core\Url; $internal_link = Link::fromTextAndUrl(t('Drupal nodes'), Url::fromUri('internal:/node', $options))->toString();  External Url use Drupal\Core\Link; use Drupal\Core\Url; $external_link = Link::fromTextAndUrl(t('Codebales'), Url::fromUri('http://www.codebales.com/'))->toString();  Url with options use Drupal\Core\Link; use Drupal\Core\Url; $options = array( 'query' =>...
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...
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...