We like to share
We like to share
In this article, we will be covering how to implement the Strict Transport Security, X Content Type Options, and X Frame Options headers to increase the security of your Drupal site.
There may be times when you want more information to display on the admin page for taxonomy terms. Here is a quick code snippet to do that.
Learn how to implement the Permissions Policy HTTP response header to improve your Drupal site's security.
How do I inject other services into the Drupal service I'm writing?
Layout Paragraphs provides an elegant drag-and-drop interface for content editing, and it's easy to extend and customize.
In this article, Riley explains how to add a field that allows users to change the background color of a section.
Continuing thoughts on the "why" of Drupal custom entities.
Utilizing HTTP security headers is a low-effort and quick to implement method of increasing your Drupal site’s security. There are, with a few caveats, almost no downsides to using them.
A brief overview of how the Drupal render array system works, with simple examples.
Drupal render array elements share a common set of supported properties. Here we'll look at the most significant ones.
Some thoughts for consideration on the "why" of Drupal custom entities.
Your module has some great ways to manipulate and visualize data. With custom tokens, you can easily expose that data to the users who need it.
When writing a module, you want to empower your users. Embracing the Drupal token system is a great step down this path. Let's check out how to set it up.
Tokens are used throughout the Drupal core, but you may not have stopped to think much about them. Let's unpack this powerful feature together.
Learn how to include a third-party JS file in a custom block in Drupal 7, 8, and 9 using attachments.
A step-by-step process for enabling and customizing HTML emails in Drupal 8.
Learn how to have multiple copies of a React widget on the same page of a Drupal site, each with its own configuration.
Learn how to access Drupal data within a React widget.
Learn how to use Create React App to add a React widget to a Drupal 8 site.
Most Drupal developers I know wish they could find time to contribute back. Here are some tips that will reduce some of the friction, and address your current need.
Accessibility in Practice
This Accessibility in Practice discusses how to handle external links, along with a handy programmatic way to format them in Drupal.