You are here

function _get_module_statuses in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 gdpr.module \_get_module_statuses()
  2. 7 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 markup for gdpr_modules checkpoint description.
_get_module_list in ./gdpr.module
Returns a HTML markup for data_collecting modules checkpoint description.

File

./gdpr.module, line 333
Module file.

Code

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