10 helpful Drupal 8 modules for 2019

Parent Feed: 

It’s always hard to pick up the most useful Drupal 8 modules because it depends on the site you will create or manage. But there are some really helpful modules you can use in almost every situation.

In this post, I will share some modules that I use almost all the time in my Drupal 8 projects, they are not related to a particular type of site but they are always helpful, both in development or production environment.

1. Admin Toolbar

(D8) - https://www.drupal.org/project/admin_toolbar

drupal-admin-toolbar

The Admin Toolbar module will greatly save your time. By having a drop-down menu and extending the original Drupal menu, it helps to perform various admin actions faster and easier.

The module works on the top of the default toolbar core module, therefore it is a very light module and keeps all the toolbar functionalities (shortcut / media responsive).

The module also provides a submodule called "Admin Toolbar Extra Tools" adding extra links similar to Admin Menu module for Drupal 7 (flush caches, run cron, etc...).

2. Module Filter

(D7/D8) - https://www.drupal.org/project/module_filter

drupal-module-filter

The modules list page can become quite big when dealing with a fairly large site. To simplify your modules administration, you can install the Module Filter. This module provides you a tab for each package, giving you two alternative ways (with the default filter textfield) to quickly find and re-configure your modules.

3. Shield

(D7/D8) - https://www.drupal.org/project/shield

drupal-module-shield

This module helps you protect your development or staging site with HTTP authentication. Anonymous visitors and search engines won’t be able to reach your test environment, but we and our customers will.

4. Content Lock

(D7/D8) - https://www.drupal.org/project/content_lock

drupal-module-content-lock

This module prevents users from editing the same node. If another user is trying to edit the same node, he will be notified that the content is already being edited.

The other great feature of this module is that it prevents users from leaving an edit form page without first saving it, they will be notified when attempting to close the browser window/tab, clicking on a link, etc. If the user confirms that he wants to leave without saving the node, the edit lock gets automatically removed.

5. Environment Indicator

(D7/D8) - https://www.drupal.org/project/environment_indicator

drupal-module-environment-indicator

This module will help you stay sane while working on your different environments by adding a configurable color bar to each one of your environments.

The Environment Indicator module adds a colored bar on the site, informing you which environment you're currently in (Development, Staging, Production, etc.). This is incredibly useful if you have multiple environments for each of your sites, and are prone to forgetting which version of the site you are currently looking at.

6. reCAPTCHA

(D7/D8) - https://www.drupal.org/project/recaptcha

drupal-module-recaptcha

reCaptcha is a module built on top of the captcha module that implements the google captcha service to protect your site from spam. This web service shows a checkbox “I’m not a robot” at the bottom of your form. The service gives a challenge based on choosing images related to a subject.

Another option for protecting your site from spam is the Honeypot module.

7. Block Class

(D7/D8)  - https://www.drupal.org/project/block_class

drupal-module-block-class

This module allows users to add CSS classes to any block through the block configuration interface. So we don’t have to add classes to our twig templates. We just need to add our new classes to our CSS file.

8. Configuration Split

(D8) - https://www.drupal.org/project/config_split

drupal-module-config-split

This module filters the import/export of the configuration. It allows to define sets of configurations that will get exported to separate directories when exporting from different environments.  The canonical example for this is to have the devel module enabled or having a few block placements or views in the development environment and then not export them into the set of configurations to be deployed, yet still being able to share the development configuration with colleagues.

9. RoleAssign

(D7/D8) -  https://www.drupal.org/project/roleassign

drupal-rol-asign

This module allows you, as a site administrator, to delegate the assignment of roles to another user without giving him the Administer permissions permission.

The module creates a new permission called Assign roles. Users with this permission are able to assign selected roles to other users. On the other hand, users with the Administer permissions permission may select which roles are available for assignment through this module.

For larger sites with multiple levels of administrators or whenever you need finer-grained control over which role can assign which other role, check out Role Delegation.

10. Delete all

(D7/D8) - https://www.drupal.org/project/delete_all

drupal-module-delete-all

This is the module that I always install on local or dev environment in conjunction with the Devel Generate module. It allows to delete all content and/or users from a site with just one click.

This particularly handy on a test site the client was using for a period of time, and he must clean it up before starting with real data or when we test import or migration with thousand of nodes. Really helpful.

Usage statistics of these modules.

Here you can find the usage statistics for those modules across all versions.

drupal-usage-statistics

Which Drupal 8 modules do you consider helpful?

I wish to hear about which Drupal 8 modules you consider helpful for your projects. Leave a comment and share it with the community !

Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web