Lndr (8.x-1.x) module installation

Step 1 - Install the Drupal 8 module
There are a number of ways to install the module. Most commonly place the module into your Drupal website’s sites/all/modules directory. You can also refer to Drupal’s documentation here (https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod...) You should enable the Lndr module as seen below:


Continuous upgrades between major versions

Beginning with Drupal 9, major core releases will aim for a continuous upgrade path from the previous major release.

When Drupal 9 is released, we will also release a Drupal 8 LTS release. Modules and themes that are not using any deprecated code in the Drupal 8 LTS should also work with Drupal 9, since the major release will mostly represent removing code deprecated during the Drupal 8 development cycle.

Drupal - PHP version compatibility check

When we are upgrading PHP version or switching from one hosting to another hosting provider, we may need to check the PHP version compatibility. We can check the compatibility with PHP codesniffer. It will provide you the warnings or errors while checking the compatibility. Below document will help us to do the compatibility check.

Pre requisites:

  • Composer
  • PHP Code Sniffer

Steps to install PHP Compatibility package using Composer:

Drupal Commerce order quantity limitations with Rules

I needed a while to set up some order quantity restrictions in Drupal Commerce and I've seen many different questions and issues on how to do such things. So here's what I did:


  1. Set a line items order limit (quantity of same product)
  2. Set a product order limit (quantity of different products)


Working with Paragraphs Browser

Adding Browsers

First, you will need to add a Browser. This is done by navigating to Structure → Paragraph Types and then clicking Manage Browsers. From here you can add various Browsers, which are used by Paragraphs Entity Reference revisions fields when the Paragraphs Browser widget is selected under Form Display. These Browsers are used to broadly organize types of Paragraphs, such as Layouts or Media.

Restoring the administrator role to user 1 (or anyone else)

As of Drupal 8.5.0, user 1 can be stripped of its power by removing the Administrator role from the account. If you happen to have removed the Administrator role from the last account that had it, there are special steps you can take to restore it so you have an admin account again.

Using drush

Simply type drush urol administrator --uid=1 to restore the Administrator role to user 1.
For more options regarding the user-add-role (urol) command, please type drush help user-add-role


Subscribe with RSS Subscribe to RSS - Site administrators