Category: Drupal
How to upgrade Drupal 9 to 10
Upgrading Drupal from version 9 to version 10 is a multi-step process that involves several different tasks. Read on to find all the details you need to perform this major Drupal core upgrade.
Create media programmatically in Drupal
Using Media in Drupal is a much better option than using old-school image fields. You can add all types of fields to Media to enrich your images, videos, and other media types with additional information, and you can also reuse Media. All of that cannot be easily done if you are using regular image fields. Let's see how to programmatically create media.
Create file programmatically in Drupal
Creating a file entity programmatically in Drupal sounds like a trivial task but there are some "gotchas" to be aware of. Let's dig in and explore tricky little things you need to know about.
Entity field validators and constraints in Drupal
By default, you have very few options for field validation in Drupal. You can make a field required, set its length if you have a text field, or set the allowed number of values -- but that's just about it. Fortunately, we have a very powerful mechanism for adding field validation.
The Ultimate Guide to drupal/core-* packages
In this guide, you will find all the information about various drupal/core-* packages. Let's see what all these packages are and what they do.
Referenced sniff "Slevomat Coding Standard" does not exist
Depending on your project setup, updating the Coder module from earlier versions to version 8.3.14 might lead to the referenced sniff does not exist error. Let's find out how to fix it.