Skip to main content

Drupal 8: Useful modules that you want to use in almost every drupal installation

Multivalue field restriction

This module limits the number of displayed value of a field in front, independently of the cardinality.
The interest is to save field tables in the database and therefore make the database lighter.

https://www.drupal.org/project/multivalue_field_restriction

Media Parent Entity Link

This module enables you to link image fields of media entities to their referencing (node) entities. You will be able to set up the view mode for the media entity accordingly.

https://www.drupal.org/project/media_parent_entity_link

Taxonomy Views Integrator

The TVI (Taxonomy Views Integrator) module allows selective overriding of taxonomy terms and/or vocabulary with the view of your choice. Using TVI you can easily create custom views to output all terms in X vocabulary.

https://www.drupal.org/project/tvi

Menu Link Attributes

This module allows you to add attributes to your menu links or their wrapping <li> elements.

https://www.drupal.org/project/menu_link_attributes

Pathauto

The Pathauto module automatically generates URL/path aliases for various kinds of content (nodes, taxonomy terms, users) without requiring the user to manually specify the path alias. This allows you to have URL aliases like /category/my-node-title instead of /node/123. The aliases are based upon a "pattern" system that uses tokens which the administrator can change.

https://www.drupal.org/project/pathauto

Fieldgroup

Fieldgroup will, as the name implies, group fields together. All fieldable entities will have the possibility to add groups to wrap their fields together. Fieldgroup comes with default HTML wrappers like vertical tabs, horizontal tabs, accordions, fieldsets or div wrappers.

https://www.drupal.org/project/field_group

Title Field for Manage Display

Drupal core and contrib modules do not currently offer a simple solution for managing a content type's title in the "Manage Display" tab.

This module creates a title field in all content types that shows up in the "Manage Display" tab. It has a field formatter option named "Title" that offers to display the node title with the core title formatter options. This field is added to all content types when the module is enabled.

https://www.drupal.org/project/title_field_for_manage_display

Media Library Edit

A tiny module to add a missing "Edit" button to the Media Library widget that routes to the Media entity edit form.

https://www.drupal.org/project/media_library_edit

Required Field Display

Simple Drupal module to display required fields on the manage fields screen.

http://drupal.org/project/required_field_display

composer require drupal/media_parent_entity_link drupal/radix drupal/components composer require drupal/tvi drupal/menu_link_attributes drupal/pathauto drupal/token drupal/title_field_for_manage_display drupal/transliterate_filenames drupal/block_class drupal/admin_toolbar drupal/devel drupal/entityqueue drupal/taxonomy_menu drupal/twig_tweak
 drupal/twig_vardumper drupal/views_bootstrap drupal/views_infinite_scroll kint-php/kint



 

best practices

Latest Articles

Using drupal/core-composer-scaffold to prevent rewriting .htaccess or robots.txt file admin_pixelthi… Sun, 12/01/2024 - 16:49 Using drupal/core-composer-scaffold to prevent rewriting .htaccess or robots.txt file

Using drupal/core-composer-scaffold to prevent rewriting .htaccess or robots.txt file

composer
Controlling ckeditor styling options with hook_editor_js_settings_alter admin_pixelthi… Thu, 05/16/2024 - 10:49 Controlling ckeditor styling options with hook_editor_js_settings_alter

Controlling ckeditor styling options with hook_editor_js_settings_alter

php hook hook_editor_js_settings_alter hook_field_widget_single_[WIDGET_TYPE]_form_alter
Upgrading Drupal 9 Modules for Drupal 10: A Simple Guide admin_pixelthi… Tue, 09/05/2023 - 14:18 Upgrading Drupal 9 Modules for Drupal 10: A Simple Guide

Upgrading Drupal 9 Modules for Drupal 10: A Simple Guide

composer drupal9 drupal10