Skip to content

Module Installations

Module Filter

Module Filter - drupal.org

Require 'Module Filter'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-module-filter dev

lando composer require 'drupal/module_filter'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/module_filter"

Enable and Configure 'Module Filter'

lando drush en \
  module_filter \
  -y

You can visit the module config page /admin/config/user-interface/module-filter

Check 2 checkboxes ('Enhance the Extend page with tabs' and 'Show module path in modules list').

'Module Filter' Settings

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable module_filter"
git add .
git commit -m "Configure module_filter"

# Push the branch
git push origin install-module-filter
# Create a pull request using git push link

Coffee

Coffee - drupal.org

Require 'Coffee'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-coffee dev

lando composer require 'drupal/coffee'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/coffee"

Enable and Configure 'Coffee'

lando drush en \
  coffee \
  -y

You can visit the module config page /admin/config/user-interface/coffee.

There is nothing to configure for this module at this point. (Use defaults unchanged.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable coffee"
git add .
git commit -m "Configure coffee"

# Push the branch
git push origin install-coffee
# Create a pull request using git push link

Flood control

Flood control - drupal.org

Require 'Flood control'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-flood-control dev

lando composer require 'drupal/flood_control'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/flood_control"

Enable and Configure 'Flood control'

lando drush en \
  flood_control \
  -y

You can visit the module config page /admin/config/people/flood-control.

Add VPN IP of Binbiriz to "IP Whitelist".

'Flood control' configuration

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable flood_control"
git add .
git commit -m "Configure flood_control"

# Push the branch
git push origin install-flood-control
# Create a pull request using git push link

Revision Log Default

Revision Log Default - drupal.org

Require 'Revision Log Default'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-revision-log-default dev

lando composer require 'drupal/revision_log_default'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/revision_log_default"

Enable and Configure 'Revision Log Default'

lando drush en \
  revision_log_default \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable revision_log_default"
git add .
git commit -m "Configure revision_log_default"

# Push the branch
git push origin install-revision-log-default
# Create a pull request using git push link

Weight

Weight - drupal.org

Require 'Weight'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-weight dev

lando composer require 'drupal/weight'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/weight"

Enable and Configure 'Weight'

lando drush en \
  weight \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable weight"
git add .
git commit -m "Configure weight"

# Push the branch
git push origin install-weight
# Create a pull request using git push link

Twig Tweak

Twig Tweak - drupal.org

Require 'Twig Tweak'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-twig-tweak dev

lando composer require 'drupal/twig_tweak'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/twig_tweak"

Enable and Configure 'Twig Tweak'

lando drush en \
  twig_tweak \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable twig_tweak"
git add .
git commit -m "Configure twig_tweak"

# Push the branch
git push origin install-twig-tweak
# Create a pull request using git push link

Pathauto

Pathauto - drupal.org

Require 'Pathauto'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-pathauto dev

lando composer require 'drupal/pathauto'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/pathauto"

Enable and Configure 'Pathauto'

lando drush en \
  pathauto \
  -y

You can visit the module config page /admin/config/search/path/patterns.

There is nothing to configure for this module initially. (The configuration options will be changed when needed working on particular content types.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable pathauto"
git add .
git commit -m "Configure pathauto"

# Push the branch
git push origin install-pathauto
# Create a pull request using git push link

Redirect

Redirect - drupal.org

Require 'Redirect'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-redirect dev

lando composer require 'drupal/redirect'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/redirect"

Enable and Configure 'Redirect'

lando drush en \
  redirect \
  redirect_404 \
  -y

You can visit the module config page admin/config/search/redirect/settings.

There is nothing to configure for this module. (Use defaults unchanged.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable redirect"
git add .
git commit -m "Configure redirect"

# Push the branch
git push origin install-redirect
# Create a pull request using git push link

Link Attributes widget - drupal.org

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-link-attributes dev

lando composer require 'drupal/link_attributes'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/link_attributes"
lando drush en \
  link_attributes \
  link_attributes_menu_link_content \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

Configure individual fields' form widgets in their corresponding content types.

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable link_attributes"
git add .
git commit -m "Configure link_attributes"

# Push the branch
git push origin install-link-attributes
# Create a pull request using git push link

Token OR

Token OR - drupal.org

Require 'Token OR'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-token-or dev

lando composer require 'drupal/token_or'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/token_or"

Enable and Configure 'Token OR'

lando drush en \
  token_or \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable token_or"
git add .
git commit -m "Configure token_or"

# Push the branch
git push origin install-token-or
# Create a pull request using git push link

Simple XML sitemap

Simple XML sitemap - drupal.org

Require 'Simple XML sitemap'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-simple-sitemap dev

lando composer require 'drupal/simple_sitemap'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/simple_sitemap"

Enable and Configure 'Simple XML sitemap'

lando drush en \
  simple_sitemap \
  -y

You can visit the module config page /admin/config/search/simplesitemap.

There is nothing to configure for this module at this point. (Use defaults unchanged.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable simple_sitemap"
git add .
git commit -m "Configure simple_sitemap"

# Push the branch
git push origin install-simple-sitemap
# Create a pull request using git push link

Search 404

Search 404 - drupal.org

Require 'Search 404'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-search404 dev

lando composer require 'drupal/search404:^2.2@RC'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/search404"

Enable and Configure 'Search 404'

lando drush en \
  search404 \
  -y

You can visiti the module config page /admin/config/search/search404.

There is nothing to configure for this module at this point. (Use defaults unchanged.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable search404"
git add .
git commit -m "Configure search404"

# Push the branch
git push origin install-search404
# Create a pull request using git push link

Block Exclude Pages

Block Exclude Pages - drupal.org

Require 'Block Exclude Pages'

lando composer require 'drupal/block_exclude_pages:^2.0'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/block_exclude_pages"

Enable and Configure 'Block Exclude Pages'

lando drush en \
  block_exclude_pages \
  --yes

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex --yes
git add .
git commit -m "Enable drupal/block_exclude_pages"

CAPTCHA & reCAPTCHA

CAPTCHA - drupal.org

reCAPTCHA - drupal.org

Require CAPTCHA & reCAPTCHA

lando composer require 'drupal/captcha:^1.3' 'drupal/recaptcha:^3.0'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/captcha and drupal/recaptcha"

Enable and Configure CAPTCHA & reCAPTCHA

Please do not enable the modules during the initial installation. Enabling and configuration will be done when needed.

Metatag & Schema.org Metatag

Metatag - drupal.org

Schema.org Metatag - drupal.org

Require Metatag & Schema.org Metatag

lando composer require 'drupal/metatag:^1.20' 'drupal/schema_metatag:^2.3'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/metatag and drupal/schema_metatag"

Enable and Configure Metatag & Schema.org Metatag

lando drush en \
  metatag \
  metatag_open_graph \
  metatag_twitter_cards \
  --yes

Metatag will be configured later. Initially, use defaults unchanged.

lando drush cex --yes
git add .
git commit -m "Enable drupal/metatag"

Please do not enable 'Schema.org Metatag' during the initial installation if not needed.

Rabbit Hole

Rabbit Hole - drupal.org

Require 'Rabbit Hole'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-rabbit-hole dev

lando composer require 'drupal/rabbit_hole:^2.0@beta'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/rabbit_hole"

Enable and Configure 'Rabbit Hole'

lando drush en \
  rabbit_hole \
  --yes

You can visit the module config page /admin/config/content/rabbit-hole.

There is nothing to configure for this module at this point. (Use defaults unchanged.)

lando drush cex --yes
git add .
git commit -m "Enable drupal/rabbit_hole"

Color Field

Color Field - drupal.org

Require 'Color Field'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-color-field dev

lando composer require 'drupal/color_field'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/color_field"

Enable and Configure 'Color Field'

lando drush en \
  color_field \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable color_field"
git add .
git commit -m "Configure color_field"

# Push the branch
git push origin install-color-field
# Create a pull request using git push link

Webform

Webform - drupal.org

Require 'Webform'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-webform dev

lando composer require 'drupal/webform:^6.3@beta'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/webform"

Install Webform Libraries

How to use composer to install libraries for the Webform module

git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Setup library installation via composer for webform"

Enable and Configure 'Webform'

lando drush en \
  webform \
  webform_options_custom \
  webform_node \
  webform_submission_log \
  webform_ui \
  -y

Module config page /admin/structure/webform.

There is nothing to configure for this module at this point. (Use defaults unchanged.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable webform"
git add .
git commit -m "Configure webform"

# Push the branch
git push origin install-webform
# Create a pull request using git push link

Webform XLSX export

Webform XLSX export - drupal.org

Require 'Webform XLSX export'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-webform-xlsx-export dev

lando composer require 'drupal/webform_xlsx_export'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/webform_xlsx_export"

Enable and Configure 'Webform XLSX export'

lando drush en \
  webform_xlsx_export \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable webform_xlsx_export"

# Push the branch
git push origin install-webform-xlsx-export
# Create a pull request using git push link

Views Bootstrap

Views Bootstrap - drupal.org

Require 'Views Bootstrap'

# Create a branch
lando start
bash scripts/full_dev.sh
git pull origin dev
git checkout -b install-views-bootstrap dev

lando composer require 'drupal/views_bootstrap:^5.5@RC'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/views_bootstrap"

Enable and Configure 'Views Bootstrap'

lando drush en \
  views_bootstrap \
  -y

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex -y
git add ./drupal/config/sync/core.extension.yml
git commit -m "Enable views_bootstrap"

# Push the branch
git push origin install-views-bootstrap
# Create a pull request using git push link

Slick Carousel - drupal.org

Slick Views - drupal.org

lando composer require 'drupal/slick:^2.6' 'drupal/slick_views:^2.6'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/slick and drupal/slick_views"

These also download "drupal/blazy", because Blazy is a dependency. However "drupal/blazy" won't be present in require section of composer.json because it is not required explicitly.

Add Blazy and Slick Libraries via Composer

You can also refer to Installation of Drupal Libraries.

Please refer to project documentations on drupal.org.

bLazy library library (>= v1.6.0)
Slick library (1.6+ and <= 1.8.0)

Add packages to composer.json.

        {
            "type": "package",
            "package": {
                "name": "dinbror/blazy",
                "version": "1.8.2",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com/dinbror/blazy/archive/1.8.2.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "^1.2.0"
                }
            }
        },
        {
            "type": "package",
            "package": {
                "name": "kenwheeler/slick",
                "version": "1.8.0",
                "type": "drupal-library",
                "dist": {
                    "url": "https://github.com/kenwheeler/slick/archive/v1.8.0.zip",
                    "type": "zip"
                },
                "require": {
                    "composer/installers": "^1.2.0"
                }
            }
        },
lando composer require 'dinbror/blazy' 'kenwheeler/slick'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require dinbror/blazy and kenwheeler/slick"

Visit /admin/reports/status to check whether Slick library is installed. You should see Slick library: Slick library installed at libraries/slick in Status Report.s

lando drush en \
  blazy \
  blazy_ui \
  slick \
  slick_ui \
  slick_views \
  --yes

There is nothing to configure for 'Slick Views'. (There are no configuration options for this module.)

Use defaults settings for 'Slick' itself. Developers should visit /admin/config/media/slick and/or /admin/config/media/slick/ui to configure the module as needed.

Use defaults settings for 'Blazy' itself. Developers should visit /admin/config/media/blazy to configure the module as needed.

lando drush cex --yes
git add .
git commit -m "Enable drupal/blazy, drupal/slick and drupal/slick_views"

'CKEditor Templates' & 'Ckeditor templates user interface'

CKEditor Templates - drupal.org

Ckeditor templates user interface - drupal.org

Require 'CKEditor Templates' & 'Ckeditor templates user interface'

lando composer require 'drupal/ckeditor_templates:^1.2' 'drupal/ckeditor_templates_ui:^1.4'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/ckeditor_templates and drupal/ckeditor_templates_ui"

Add 'Ckeditor templates plugin' via Composer

Please refer to this part of documentation CK Editor Plugins.

Enable and Configure 'CKEditor Templates' & 'Ckeditor templates user interface'

Please do not enable 'Ckeditor templates user interface' unless you have a good reason! Because UI module will override ckeditor_templates.js file (see below) in your theme.

lando drush en \
  ckeditor_templates \
  --yes

There is nothing to configure for 'CKEditor Templates'. (There are no configuration options for this module.)

Refer to modules web/modules/contrib/ckeditor_templates/README.txt file.

Visit /admin/config/content/formats and add the templates button to the toolbar.

Copy web/modules/contrib/ckeditor_templates/templates/ckeditor_templates.js.example to your theme's templates folder as ckeditor_templates.js.

Copy the images in web/libraries/ckeditor/plugins/templates/templates/images folder to web/themes/custom/my_custom_theme/images/ckeditor folder.

lando drush cex --yes
git add .
git commit -m "Enable drupal/ckeditor_templates

And add the templates button to the toolbar."

AddToAny Share Buttons

AddToAny Share Buttons - drupal.org

Require 'AddToAny Share Buttons'

lando composer require 'drupal/addtoany:^1.16'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/addtoany"

Enable and Configure 'AddToAny Share Buttons'

lando drush en \
  addtoany \
  --yes

There is nothing to configure for this module. (Use defaults.)

lando drush cex --yes
git add .
git commit -m "Enable drupal/addtoany"

Please note that by default, this module comes with a block and as a visible field in default and teaser displays of article and page content types. If you created new content types, this module add a disabled field in displays of those content type. You can use this field in views.

+------------+-----------------------------------------------+-----------+
| Collection | Config                                        | Operation |
+------------+-----------------------------------------------+-----------+
|            | addtoany.settings                             | Create    |
|            | core.extension                                | Update    |
|            | core.entity_view_display.node.article.teaser  | Update    |
|            | core.entity_view_display.node.article.default | Update    |
|            | core.entity_view_display.node.page.teaser     | Update    |
|            | core.entity_view_display.node.page.default    | Update    |
+------------+-----------------------------------------------+-----------+

You can disable the field in article and page content types, if needed.

Config default image

Config default image - drupal.org

This module creates an image field formatter. (Please also refer to this issue Provide a 2nd formatter "Responsive image or default image").

'Config default image' Field Formatter

You can then add an image as default from your custom theme.

'Config default image' Field Formatter Settings

Prevent Term Delete

Prevent Term Delete - drupal.org

Require 'Prevent Term Delete'

lando composer require 'drupal/prevent_term_delete:^1.3@alpha'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/prevent_term_delete"

Enable and Configure 'Prevent Term Delete'

lando drush en \
  prevent_term_delete \
  --yes

Visit /admin/config/development/prevent_term_delete.

Enable for the needed vocabularies and save the configuration.

'Prevent Term Delete' Settings

lando drush cex --yes
git add .
git commit -m "Enable and configure drupal/prevent_term_delete"

Notice: Creating New Taxonomy Vocabularies

After creating a new taxonomy vocabulary, visit 'Prevent Term Delete' configuration page (/admin/config/development/prevent_term_delete) and enable the module for the newly created vocabulary if needed. See screenshot above.

Automatic Entity Label

Automatic Entity Label - drupal.org

Require 'Automatic Entity Label'

lando composer require 'drupal/auto_entitylabel:^3.0@beta'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/auto_entitylabel"

Enable and Configure 'Automatic Entity Label'

lando drush en \
  auto_entitylabel \
  --yes

There is nothing to configure for this module. (There are no configuration options for this module.)

lando drush cex --yes
git add .
git commit -m "Enable drupal/auto_entitylabel"

Field Permissions

Field Permissions - drupal.org

Require 'Field Permissions'

lando composer require 'drupal/field_permissions:^1.1'
git add ./drupal/composer.json ./drupal/composer.lock
git commit -m "Require drupal/field_permissions"

Enable and Configure 'Field Permissions'

lando drush en \
  field_permissions \
  --yes

There is nothing to configure for this module initially. (The configuration options will be changed when needed working on particular fields.)

lando drush cex --yes
git add .
git commit -m "Enable drupal/field_permissions"