tinkersmith/raini-acquia

Drupal recipes and commands for Raini Console.

Installs: 108

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:raini-extension

dev-main 2024-05-17 00:26 UTC

This package is auto-updated.

Last update: 2024-05-17 04:26:18 UTC


README

This extension adds Acquia hosting settings and recommended Drupal modules for Acquia Cloud hosting.

Install

This extension requires the tinkersmith/raini-drupal Composer package, which provides a setup for a standard Drupal website. In order to be compatible with the Acquia hosting, the Drupal project settings to use memcache for the caching type, as this is what is provided on Acquia's Cloud hosting.

Configurations

  • ClamAV (bool) - Add settings for ClamAV and include the Drupal module.
  • solrSearch (bool) - Include and setup Acquia Search.
  • includeHooks (init, overwrite, false) - Include the extension's default Acquia cloud hooks.
  • useConfigSplit (init, overwrite, false) - Include Acquia environment config_split configurations (also installs drupal/config_split).

Example configurations (raini.project.yml):

extensions:
    raini-acquia:
        clamAV: true
        solrSearch: true
        includeHooks: init
        useConfigSplit: init

Included Packages

Additional Composer packages are brought to the Drupal site installation

These packages are added to each install by this extension:

  • Acquia Memcache Settings (acquia/memcache-settings)
  • Acquia Environment Detector (acquia/drupal-environment-detector)
  • Acquia Connector (drupal/acquia_connector)
  • Acquia Purge (drupal/acquia_purge)

The Acquia Search (drupal/acquia_search) module is conditionally installed if the project is using, and has installed Search API Solr (drupal/search_api_solr) as this is a requirement for the Acquia Search module, but also an indication the intention to use Search API and Apache Solr to implement search (tinkersmith/drupal-solr is recommended).

Highly recommend the use of:

  • Config Ignore (drupal/config_ignore)
  • Config Split (drupal/config_split)

These can help to manage Acquia modules only available on hosting servers to only be active on those servers. If these modules are available, recommended config_split defaults for Acquia production and development environments are added to the site config directories.