Top "Drupal-8" questions

Drupal 8 is the Drupal version that was officially released on November 19, 2015.

Custom 404 template file in Drupal 8

How can I create a custom 404 page in Drupal 8? I have created a new page(Content) in the backoffice called 404 (…

drupal-theming drupal-8
How do I get the parent tid of a taxonomy term in Drupal 8

I used the following to get the parent of a taxonomy term in drupal 8: $parent = \Drupal::entityTypeManager()->getStorage(…

drupal-8
add meta tag to head in drupal 8

Iam new to drupal 8 and want to add meta tag to my drupal 8 site. I had done this: added below …

drupal-8
Drupal 8 Twig Template: get relative or absolute path from URI

I have in a twig template an image url, like "public://path/to/image.png". I want to get "sites/…

templates drupal twig drupal-8
Drupal installation: Set xdebug.max_nesting_level=256 in your PHP configuration

I am following a tutorial here https://www.youtube.com/watch?v=h5i6emqdOgg In between the installation I …

php drupal installation drupal-8
How to create a form using block module in drupal 8?

I want build a form using a block module in Drupal 8. I am aware of building the forms in Drupal 7 …

drupal drupal-8
Docker gd module for PHP 7

I've got docker file, which is configured for Drupal 8, but after I fired up "docker-compose up", everything went smooth but …

php drupal docker docker-compose drupal-8
Drupal 8 programmatically create a custom form with multiple submit buttons

I have a custom Drupal 8 form that shows a list of users and a "check" button for each user. When …

drupal-8
How to import / export content type in drupal 8?

How to import / export content type with their related contents from one website to another website in drupal 8?

drupal-8
Drupal 8 - Adding classes to links

I am new to Drupal and I love it very much. I am learning it on my own but I …

drupal-8