I have a working installation that I tried to clone via git and composer. I have done it successfully before (install an empty Drupal site with composer, store result in git and use git, "Config_installer" and composer to clone the environment). I have now added a number of modules to the installation and try to do the same.
But when, after the "composer install" step, go to the installation page (.../core/install.php) and try to finalize the installation, during the step "Install configuration", I get the following error:
I am working on upgrading a D7 site to D8. I have all the migrate modules that come with D8 installed and enabled. Additionally, I have Migrate Upgrade, Migrate Plus, Migrate Manifest and Migrate Tools enabled too.
On my Drupal 8 site, on my home page, I need to embed a small bit of code. (The embed is a very small <script> block required by a Google service.)
On older versions of Drupal I could do this easily by just editing template page-front.tpl.php and adding the embed code. What is the equivalent on D8?
we are currently creating a custom module for Drupal 8 in an university project. We never used Drupal before and have our fair shair of problems we are trying to figure out. The biggest one however is the inclusion of JavaScript in our module where we are doing something wrong.
I have a custom content type with field field_site_link and field_logo.
I want to use the logo and add the url from the site_link.
I have tried several different ways to get the URL to display properly though it is proving a little hard to find how to call it.
I know my field is being output to TWIG as content._field_layout.content.field_site_link.
here is my attempt using .0 which gives the link wrapped in an 'a' tag.