Questions tagged [drupal-9]

Drupal 9 is the Drupal version that was officially released on June 3, 2020. Rather than using this tag, consider posting your question directly on https://drupal.stackexchange.com/.

The key changes in 9.0 are:

  • Deprecated code has been removed.
  • Dependencies have been updated to new major versions as appropriate.
  • Platform requirements (supported PHP and database versions) have been increased.

Compared to Drupal 8.0.0, Drupal 9 is more usable, accessible, inclusive, flexible, and scalable than previous versions.source

  • Drupal 9 is dramatically easier to use for marketers
  • Drupal 9 is easier to maintain and upgrade for developers
  • Drupal is innovating with its headless or decoupled capabilities

Use this tag only if your question relates specifically to this version.

Requirements

  • Web server: Web server: Apache, Nginx, or Microsoft IIS
  • Database server: MySQL or Percona 5.7.8, MariaDB 10.3.7, PostgreSQL 10 with the pg_trgm extension, SQLite 3.26
  • PHP: 7.3 or higher

Note: Drupal 8 and later versions work on any web server with a version of PHP that meets the PHP version requirements. the version requirement for Apache has been increased to Apache 2.4.7 or higher.

Related tags:

Resources

305 questions
1
vote
0 answers

CSS: How to wrap rows in wkhtmltopdf

I'm on Drupal 9 and with the entity-print module trying to get images to wrap after 2 images, in other the rows break into next line. Does that work in pdf? Use case: users add 6 images, but would like to display 2 in a row, so 50% each. Image 1,…
Liliplanet
  • 11
  • 2
1
vote
0 answers

Drupal site issue

I have setup a Drupal 9 site on CentOS Linux Server, All permissions are on place, even i have tried 777 Permissions as well but no luck with it. I am getting the following errors on loading the…
Hasan Raza
  • 165
  • 1
  • 2
  • 5
1
vote
1 answer

Drupal block which filter content type by taxonomy

I am using Drupal 9. I want to give the ability to the admin to place a block and select from the block a taxonomy term in which will filter a content type. I did the above by creating a custom block with the taxonomy "Sponsor Type" as you can see…
1
vote
1 answer

Drupal9: installing problem PHP-encryption library

for encryption data i wants to use in Drupal9 the PHP-encryption library width "REAL AES" Module. But Drupal can not find the PHP-encryption library while enaple the "REAL AES" module. It is very new to use PHP-encryption in Drupal9, so i think…
Philippj
  • 17
  • 3
1
vote
1 answer

Drupal 9 view filter on a boolean type field

Drupal 9 Have content type Article. Content type Article has a field, called "Need Further Review", of boolean type. This field is not required, default value FALSE. The articles has value TRUE, FALSE, NULL for this field. TRUE: select true FALSE:…
Allen Chen
  • 133
  • 2
  • 7
1
vote
3 answers

Drupal 9: add node programmatically (PHP)

Some years ago I made a Drupal 7 site. I want to remake the site with Drupal 9. In Drupal 7 I added nodes programmatically with this PHP code:
Jennifer
  • 45
  • 1
  • 7
1
vote
0 answers

Drupal taxonomy with reference entity field to itself endless loop

In my Drupal 9 installation I have an content type job, that has a field_location that is an entity reference to a taxonomy location. This location taxonomy has a field_neighbours that is also a entity reference to a list of location (basically…
HixField
  • 3,538
  • 1
  • 28
  • 54
1
vote
1 answer

Drupal 9 in an airgap or without composer

Does anyone have any experience with Drupal 9 either without composer or in an airgap? Basically we're trying to run it in an airgapped server. Composer obviously wants to access the internet for checking and downloading packages.
1
vote
1 answer

Issues Migrating Drupal 8.9.13 to 9.0.1

I am attempting to update from 8.9.13 to 9.0.1 (intending to migrate to 9 in general, not specifically 9.0.1) Its on a composer site. I'm running: composer require drupal/core:^9.0.1 drupal/core-dev:^9.0.1 --update-with-all-dependencies I keep…
Rob Hern
  • 131
  • 2
  • 10
1
vote
1 answer

Drupal 9 - Message and message statut system blocks are not displayed

Thanks for taking the time to read my question. I have a problem adding the message and message status blocks in my content region using Drupal 9. I'm using a custom theme. The blocks are simply not displayed. They are not even added to the…
user14340819
1
vote
0 answers

D8-9. How to store Layout Builder custom block content as config

I'm creating custom pages using Pages + Layout Builder. These layouts need to be stored in GIT as config files (drush cex). Currently, the layouts themselves are stored fine. The main problem is that custom block contents are stored in the database…
Elaman
  • 851
  • 1
  • 10
  • 22
1
vote
1 answer

Is there any Oracle Driver (module) for Drupal 9?

The Oracle Driver works with Drupal 8, but its composer installation doesn’t work with Drupal 9. https://www.drupal.org/project/oracle My goal is to use the Views Database Connector module to interact with the external Oracle…
1
vote
3 answers

Drupal 8 or 9 Save data to the content type from a custom module

I am using drupal 8.9.*, I want to Save data to the content type from a custom module so that i can see the data entered in Drupal's common content list page. I dont know how to save data to the content type, I have tried using object of $node to…
Mangesh Sathe
  • 1,987
  • 4
  • 21
  • 40
1
vote
1 answer

Drupal 9 - Why is my body not saved with Node::create()

Thanks for taking the time to read my problem. I'm trying to write a module that import content from an old version of Drupal to a new Drupal 9 website. I managed to extract all content from the old database. It is stored in an array that I pass to…
user14340819
1
vote
0 answers

Theme Node Add Form for content type created in custom Drupal 9 module

I have built a module in Drupal 9 that creates a content type. Now I am trying to theme the node/add form. my_module.module [ …
Glenn
  • 67
  • 6