Primary tabs
Useful Drupal modules
Click on the module name for notes, comments, patches.
Recommendations (for and against) are my personal opinion only and may be out of date. Feel free to email with corrections/suggestions.
Why doesn't the table mention Drupal 9 or 10?
1. Nowadays, I try and use Drupal as little as possible. Specifically I do not recommend it for a new website. I'd also strongly caution you against choosing Drupal if you're at the beginning of your career and trying to learn web development (front / back / full stack) or just want to manage/maintain a website. More details why by email on request.
2. By February 2022 I'd updated all the sites I look after to Drupal 9 (experience: mixed). As of March 2023, a year later, none of them were fully ready for Drupal 10 (waiting on support for various modules). By 13 Nov 2023 (a week or two after D9 lost support) I had updated a couple of them.
Q: What's the Drupal 9 to 10 upgrade experience like? A: it's what I'd describe as "just bearable", slightly better than D8 to D9, though with plenty of things to still trip you up. There is still deprecated code that needs fixing in D10 modules, and policy changes mean odd things will break (be prepared to turn off Aggregate CSS/JS files if your themes stop working, and note that Drush launcher doesn't work with Drush 12...)
Admittedly the upgrade_status module is the best solution they could have come up with for tracking compatibility. Also watch out for a nasty session headers bug with redirect_after_login.
What about sites still running Drupal 7? In short I still recommend leaving them on Drupal 7 or moving to another platform entirely. My prediction was that Drupal will extend D7 support year after year (note that drupal.org itself is still running D7). It's now been confirmed as 5 Jan 2025. There will have to be some sort of third-party long term support, because of the sheer volume of sites that are not being upgraded.
Your decision is really what specifically you think you will gain from Drupal 8/9/10 - often the answer will be not enough, and one of the main hassles - apart from converting each content type one at a time, and setting up a new theme, will be recreating all your views by hand, as views can't be automatically upgraded.
(134 modules in list)Name | D8 | Personally Tested | Last Updated |
---|---|---|---|
@font-your-face (fontyourface) | ✔ | ✔ | |
Not recommended For using typekit, google fonts etc. But it's simpler to do web fonts manually in Twig templates/CSS. 28 Aug 2018: can't be uninstalled cleanly. The method described in #24 here works: https://www.drupal.org/project/fontyourface/issues/2916712#comment-12751073 if for example, you get an "The "font" entity type does not exist." message when running drush cr |
|||
Add another (addanother) | ✔ | ✔ | |
"Essential" For this to work for any content type after you activate it, you have to manually edit and save that content type's settings, otherwise the buttons will be missing. |
|||
Address (address) | ✔ | ✔ | |
Used to be called addressfield. Adds one dependency - commerceguys/addressing. This is a bundle of address fields, the correct combinations are shown depending on which country the user selects via a dropdown. It validates postcodes are in the correct format. Also supports 'zones' (groups of countries/subdivisions) for shipping/tax purposes. |
|||
AddToAny Share Buttons (addtoany) | ✔ | ✖ | |
Nice, clean, SVG sharing buttons. Project page says it's specifically optimised for Drupal. |
|||
Administration Views (admin_views) | ✖ | ✔ | |
"Essential" D7 only (as this is in D8 core as standard). Converts /admin/people into a fully-fledged configurable view (i.e. fields, filters, exposed filters, header/footer, pagination settings etc.) (Dependency: views_bulk_operations) |
|||
Advanced Page Expiration (ape) | ✔ | ✔ | |
Not recommended I would avoid this. The idea is you enter URL paths with wildcards and override the cache expiration. I was unable to get it to work properly for pages (settings on config under Development > Performance) Also, re: caching images, those are files being served directly by Apache or Nginx, not via the Drupal front-controller, so caching settings need to be configured there. |
|||
AJAX Comments (ajax_comments) | ✔ | ✔ | |
Not recommended Not very actively maintained and it can be quite buggy. Needs this patch: Reply button can be pressed multiple times, resulting in multiple comment forms I abandoned it for a project because the admin XHR response when you submit comments sends back comments you've already filtered out (I had written code to restrict visibility of certain comments). Also had a problem where the initial comment form was left in place rather than being replaced, so you ended up with duplicates. |
|||
Alexa (alexa) | ✔ | ✖ | |
Integrates with Amazon Echo. Allows Drupal to respond to Alexa skills requests. See Dries' blog with video demo. |
|||
Allowed Formats (allowed_formats) | ✔ | ✔ | |
"Essential" Control which text formats are available per field. (Often you'll want some fields to be simpler than others - e.g. you might want restrict everyone to a single format so they don't see a dropdown menu. You can hide the 'About text formats' link and the list of available HTML tags, again per field, in the Form Display tab using the widget icon. |
|||
AudioField (audiofield) | ✔ | ✔ | |
"Essential" This is a formatter, available on node display or in views. It turns a uploaded file or an external URL into an HTML5 audio player. Also supports various other JS player libraries which you can download. You can turn lazy-loading of the file on or off. Note: there is a default label added below the player, which is either the URL field description or actual address, if the former is missing. Override the audioplayer.html.twig template to remove this. |
|||
Autofocus (focus) | ✖ | ✖ | |
Autofocuses the first field of form (forms can be specified). No sign of a D8 port. |
|||
Automatic Entity Label (auto_entitylabel) | ✔ | ✔ | |
"Essential" Hide entity labels (i.e. titles) or auto-generate them. (Works for anything - nodes, comments, taxonomies). |
|||
Automatic Nodetitles (auto_nodetitle) | ✖ | ✖ | |
You can hide a node's title field (for reference, every node has to have a title) and generate it automatically, similar to pathauto. No-one's porting this to D8 yet. |
|||
Automatic User Names (auto_username) | ✔ | ✔ | |
"Essential" Removes the 'Username' field from registration form. Use in conjunction with a module that allows users to login with their email address. Patches:
|
|||
Autosave (autosave) | ✖ | ✖ | |
Saves snapshot of content type form using AJAX. Content types and save frequency can be configured. No sign of a D8 port yet. |
|||
Bamboo Twig (bamboo_twig) | ✔ | ✔ | |
Way to embed lots of objects in twig. note you have to selectively enable various sub modules for each of the commands. Seems pretty actively developed and well documented. |
|||
Better Exposed Filters (better_exposed_filters) | ✔ | ✔ | |
"Essential" My recommendation - safe to use but understand it's currently pretty limited due to bugs. To activate, change a view's Exposed Form style (Advanced column) to 'Better exposed filters'.
Limitations:
So all you can really do with BEF at the moment is use the AJAX setting. |
|||
Block Visibility Groups (block_visibility_groups) | ✔ | ✖ | |
Rather than change visibility for individual blocks, you can group them together and assign complex visibility settings to all of them. Module page promotes it as a simpler alternative to Panels. |
|||
Captcha (captcha) | ✔ | ✔ | |
"Essential" Framework for using (many) different types of captchas on forms such as user_registration. Tested with D7. |
|||
CKEditor Custom Config (ckeditor_config) | ✔ | ✖ | |
I've not actually used this but I adapted it's code to enforce a configuration setting (I wanted to remove the HTML dom elements that are shown in the status bar). The module allows you to supply your configuration using the UI. |
|||
CKEditor Wordcount (ckwordcount) | ✔ | ✔ | |
Adds word/character/paragraph count to the CKEditor status bar (can optionally enforce a word/character limit) Configured via Text formats and Editors (/admin/config/content/formats). Requires the ckeditor wordcount library - example composer.json for that (put this in your 'repositories' section): "ckeditor.wordcount": { "type": "package", "package": { "name": "ckeditor/wordcount", "version": "1.17.4", "type": "drupal-library", "extra": { "installer-name": "wordcount" }, "dist": { "url": "https://download.ckeditor.com/wordcount/releases/wordcount_1.17.4.zip", "type": "zip" }, "require": { "composer/installers": "~1.0" } } }, and then require: "ckeditor/wordcount": "1.17.4", Patch needed: https://www.drupal.org/files/issues/2018-12-06/ckwordcount_plugin_path_2850845-9.patch (to ensure modules gives browser correct path of plugin.js - if your ckeditor input disappears, check console.log and it's probably that) The notification module is a dependency. |
|||
CKEditorHeight (ckeditorheight) | ✔ | ✔ | |
Makes CKEditor fields respect the "rows" setting of the fields. (Has to be converted to pixels - there's a global setting, configured via a pixel factor and offset.) |
|||
ClamAV (clamav) | ✔ | ✔ | |
"Essential" Virus check files uploaded by users. In Drupal - when it can't connect you get an error on the Status Report. There's a "verbose" option in the config settings (which logs files that "passed" the virus check as well as failed) You need to tick 'Enable ClamAV integration' before it will actually scan any files. Test it's working by creating a small file with the short Eicar test signature string Notes: ClamAV does use a fair bit of memory (because it keeps a copy of all the virus signatures) Patch: Requires core patch to avoid possible data loss (race condition) - use my rerolled patch (#35) |
|||
Coder (coder) | ✔ | ✖ | |
Checks your code against Drupal coding standards. No need to install this - isn't actually a module, it's a set of phpcs rules installed as standard in /vendor/drupal/coder/coder_sniffer |
|||
Coffee (coffee) | ✔ | ✔ | |
"Essential" Keyboard shortcuts. A bit like Spotlight/Alfred/Launchbar. Alt+D to launch (memonic: alt + D = coffee!) Handy as it doesn't clash with browser keyboard-shortcut extensions such as Vimium. Tips:
|
|||
Comment Notify (comment_notify) | ✔ | ✔ | |
"Essential" Allows users to receive emails for replies to their comments (or optionally for all comments on a node). Can be toggled by content type (although not by comment type, if you have more than one comment entity). In permissions, you can also control which roles can subscribe. Can also set it so the author of a node also automatically gets emailed for every comment. I'm using three patches:
I also have a site which uses two comment types; I wrote a patch to turn off the notification checkbox for one of them. |
|||
Computed Field (computed_field) | ✔ | ✔ | |
Add a field whose value is calculated using raw PHP; specifically $value = 'foo'; (The recommendation is you write your PHP in a module of your own, and then call that method from the UI - for security and version control reasons). Note: value is only calculated when nodes are saved (i.e. will initially be empty for existing content). D8 status; alpha but working. |
|||
Conditional Fields (conditional_fields) | ✔ | ✔ | |
Adds a 'Manage dependencies' tab to the admin page for content types. This lets you set a 'target field' whose visibility is set according to a 'control field' and whether the latter is full/empty/checked/unchecked/has a specific value. Another useful feature is you can prefill/pre-tick etc. the target field (including with a custom text value, for example). To detect quickly if it's in use anywhere (I needed to do this before being sure I could uninstall the module on a site), export your site config and grep the /config/sync directory for 'conditional_fields' - it's stored in the 'third_party_settings' key in core.entity_form_display.node.[content type].default.yml |
|||
Config Ignore (config_ignore) | ✔ | ✔ | |
"Essential" Selectively ignore configuration entries during an import - e.g. site settings / the system.maintenance message. |
|||
Configuration Override Warn (config_override_warn) | ✔ | ✔ | |
"Essential" Displays a message on config pages indicating which config settings have been override by settings. |
|||
Configuration Read-only (config_readonly) | ✔ | ✔ | |
Lock all configuration changes via the admin UI - e.g. if you need to lockdown a production environment. config_readonly now has a whitelist, added via an array in settings.php. |
|||
Configuration Update Manager (config_update) | ✔ | ✔ | |
You also need to enable config_update_ui, which adds an 'Updates report' tab to Config Sync (/admin/config/development/configuration/report) |
|||
Contact Storage (contact_storage) | ✔ | ✔ | |
"Essential" Store all contact form messages in the database (as an entity), rather than just emailing them. Integrates with views, if you want a view of messages. Messages are accessible (can be edited or deleted) at /admin/structure/contact/messages. (May be useful considering From: address SPF/DMARC problem with contact forms, i.e. there may be cases where some emails aren't delivered.) |
|||
Content access (content_access) | ✔ | ✔ | |
"Essential" Set permissions by content type (with the option of overriding node by node) |
|||
CSS Editor (css_editor) | ✔ | ✔ | |
"Essential" If you only need a small amount of CSS, or want users to be able to directly edit it through the admin UI rather than creating a theme or module. Caveat: doesn't work for admin themes (at least on D7) |
|||
Custom Add Another (custom_add_another) | ✔ | ✔ | |
"Essential" The default button text for 'unlimited' fields where you can add multiple items is "Add another item". You might want to change this. This module lets you do it per field bundle - there are a couple of text options (for add and remove) added to the field edit screen. NB: this is not the 'Save and add another' button for an entire content type, just the one that handles the javascript for individual fields with multiple entries. |
|||
D8 Editor Advanced link (editor_advanced_link) | ✔ | ✔ | |
Adds options should as choice of target, title, class ID etc. to the link dialog in CKEditor. Needs configuring after install. |
|||
Datetime Range (datetime_range) | ✔ | ✖ | |
"Essential" Now in core, but you need to enable it. Adds an 'all-day' option. |
|||
Devel (devel) | ✔ | ✔ | |
"Essential" Key features:
|
|||
Double Field (double_field) | ✔ | ✔ | |
"Essential" Store a pair of fields together (numbers and text, boolean, email, telephone, Url). As normal you can specify the quantity of double fields per entity, or allow an unlimited number. Note: D7 version doesn't support 'date'. Don't use it for:
|
|||
Entity Access Audit (entity_access_audit) | ✔ | ✖ | |
This is a way of visualising - via grids of ticks and crosses - which roles have access to different operations on different entities. |
|||
Entity Embed (entity_embed) | ✔ | ✔ | |
Lets you insert any entity type (supposedly) via the WYSIWYG editor, and like images you can set alignment etc. It creates a toolbar button that can be added to the toolbar configuration in 'Text formats and editors'. The strings needed can be pretty long - e.g. <drupal-entity data-embed-button="snippet" data-entity-embed-display="entity_reference:entity_reference_entity_id" data-entity-type="snippet" data-entity-uuid="216914ab-1bc2-4a73-975b-dc1de79e849a"></drupal-entity> |
|||
Entityqueue (entityqueue) | ✔ | ✔ | |
Build a custom list of nodes. The setup is via Admin > Structure. Currently D8 alpha. |
|||
Environment Indicator (environment_indicator) | ✔ | ✔ | |
"Essential" Change the colour of the admin menu according to whether you're using dev, staging, production etc. (You can also add 'switcher' menu links, e.g. Open in dev, Open in Prod). Notes: - need to reset the cache after you've made changes [#2406619] |
|||
Exclude Node Title (exclude_node_title) | ✔ | ✔ | |
There are situations where you will want to hide a node title - e.g. if you have a view and insert an image field that's an entity reference to another content type. Module allows you to hide titles by content type or view mode and for all nodes or just a custom selection. Beta in D8. |
|||
Features (features) | ✔ | ✖ | |
Not recommended Update: most people are now moving away from features. There is a Configuration Management initiative under discussion in Drupal 8. Package up selected configuration for "features" (e.g. a blog or a photo gallery etc.) for reuse on other sites. Not the same as the new D8 Config sync, which is for exchanging configs between different environments of the same site and requires a cloned DB sharing the same UUIDs. |
|||
Feeds (feeds) | ✔ | ✖ | |
"Essential" As of Sep 2018, up to alpha3 in D8 (but not personally tested). Lets you import CSV/RSS etc. files and various other formats and map them to nodes/user/taxonomy terms, either one-off or periodically. |
|||
Field collection (field_collection) | ✔ | ✖ | |
Allows you to group a set of fields together. In active development for D8 but still a lot of open bugs at time of writing - project page says it will likely be replaced by Paragraphs. |
|||
Field Formatter Condition (fico) | ✔ | ✔ | |
(based on ffc which hasn't been ported to D8). Allows you to configure field display based on value. Adds a 'Conditions' pane to the cog in Manager Display of all entities (so content types but also comment types, e.g. if you have comments with multiple fields) Requires Display Suite (ds) Note: if you wanted to hide say a checkbox when it's value is false - you can do in it core with Manage Display - turn the label off then set (via cog wheel) the output format to Custom, and you can enter a value for true and leave false blank - exactly the same widget for boolean values you use when setting the output of a field in a view. |
|||
Field group (field_group) | ✔ | ✔ | |
"Essential" Add group' button to /admin/config/people/accounts/form-display (or any other form), can then group fields inside fieldset/other HTML wrappers.
Types of groups:
In theory can use this to add <div>s with css styles such as flexbox, like webform uses, but CSS to support that needs to be present on the page. |