Skip to main content
6
results
Andrew Fletcher
After cloning a site, next you will want to import the config file.  Which you can do so by running the command: drush cim -yHopefully it worked for you.  As it didn't work out so well for me as the response was: [error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config s ynchronization. Site UUID in source storage does not match the target storage. Entities exist of type <em class="placeholder">Shortcut link</em>...
Andrew Fletcher
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'. Once you’ve created date format, you can control the way date is displayed on the node using preprocess function. In {theme_name}.theme file, add the following lines /** * Implements hook_preprocess_node */ function THEME_NAME_preprocess_node(&$variables) { // Getting the node creation time stamp from the node object. $date...