You are here

function _get_module_statuses in General Data Protection Regulation 7

Same name and namespace in other branches
  1. 8.2 gdpr.module \_get_module_statuses()
  2. 8 gdpr.module \_get_module_statuses()

Returns an array of module statuses.

Return value

array Module statuses array

2 calls to _get_module_statuses()
_get_gdpr_module_description in ./gdpr.module
Returns a HTML makrup for gdpr_modules checkpoint description.
_get_module_list in ./gdpr.module
Returns a HTML makrup for data_collecting modules checkpoint description.

File

./gdpr.module, line 441
Contains hook implementations and shared functions.

Code

function _get_module_statuses() {
  return [
    -1 => t('missing'),
    0 => t('disabled'),
    1 => t('enabled'),
  ];
}