Skip to main content
29
results
Andrew Fletcher
Resources - changing Drush Type Version Drush (current) 11.6.0 Drush (update) 12.2.0 Updating Drush went OK on all testing environments until on to the staging environment.  The initial error that I saw was PHP Fatal error: Declaration of Drush\Style\DrushStyle::confirm($question, $default = true) must be compatible with Symfony\Component\Console\Style\SymfonyStyle::confirm(string $question, bool $default = true): bool in...
Andrew Fletcher
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
Using Composer to Manage Projects and if required their dependencies In this...
Andrew Fletcher
Looking at composer I first wanted to check the current version, which is...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN...
Andrew Fletcher
This article works through the steps to update dependencies in the composer.json file to the latest version. Use composer outdated to suggest the latest versions. composer outdatedWhereas, to return a complete list of packages where packages that need an update are coloured red, the up-to-date ones are coloured green composer show -l  Steps from above with responses Updating packages to a version supported by the constraints use: composer updateWhereas, if you want to update...
Andrew Fletcher
  Using the Drupal Poll module and passing via RESTful API -  How do...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
How to use the Drupal REST API to trigger I've forgot (need to change) my...
Andrew Fletcher
To get the X-CSRF token, first, you need to login as a member.  Follow the...
Andrew Fletcher
In retrieving an image, the primary element required is: File id or fid;   Query string Using the element outlined above the query string becomes: {domain}/file/{fid}/?_format=hal_json Replacing the following variables: {domain} ~ your-site.com {fid} ~ 3214 Becomes: your-site.com/file/3214?_format=hal_jsonGenerates the following output: { "_links": { "self": { "href": "https://your-site.com/file/3214?_format=hal_json" }, ...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
To POST an image is similar to the other posts mentioned on this site....