deployment

Environment Indicator

module_name
environment_indicator
Description

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]

Categories
Tested by me
Yes
Drupal 8 support
Yes
Essential
Yes
Avoid
No
Deprecated
No

Raven

module_name
raven
Description

This module logs events and sends them to Sentry.  Sentry is an open source application you can self-install, but also a free/paid SaaS version.

For a content management framework as complex as Drupal it's worth logging errors.

Tips:

  • In Raven config, recommend not logging debug and info messages, but do select Enable fatal error handler and Enable stacktraces.
  • You can enable the javascript error handler as well, but personally I only use PHP.


Drupal benefits:

  • logs the Drupal uid
  • logs referrer URLs
  • you can tag versions (e.g. commits) as well as different environments
  • you get a full breakdown of AJAX requests

 

Categories
Tested by me
Yes
Drupal 8 support
Yes
Essential
Yes
Avoid
No
Deprecated
No

Config Ignore

module_name
config_ignore
Description

Selectively ignore configuration entries during an import - e.g. site settings / the system.maintenance message.

Categories
Tested by me
Yes
Drupal 8 support
Yes
Essential
Yes
Avoid
No

Node Export

module_name
node_export
Description

Tto actually export node content. An 8.x version has begun development:

composer require 'drupal/node_export:1.x-dev'

Categories
Tested by me
No
Drupal 8 support
No
Essential
No
Avoid
No

Configuration Read-only

module_name
config_readonly
Description

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.

Categories
Tested by me
Yes
Drupal 8 support
Yes
Essential
No
Avoid
No
Deprecated
No