You are here

function acquia_spi_approved_set_variables in Acquia Connector 7.3

Same name and namespace in other branches
  1. 6.2 acquia_spi/acquia_spi.module \acquia_spi_approved_set_variables()
  2. 7.2 acquia_spi/acquia_spi.module \acquia_spi_approved_set_variables()

Variables that can be automatically set by the NSPI set variables command.

Return value

array Array of variable names.

1 call to acquia_spi_approved_set_variables()
acquia_spi_set_variables in acquia_spi/acquia_spi.module
Set variables from NSPI response.

File

acquia_spi/acquia_spi.module, line 1787
Send site profile information (NSPI) and system data to Acquia Insight.

Code

function acquia_spi_approved_set_variables() {

  // acquia_spi_set_variables_automatic is in here so that if
  // acquia_spi_set_variables_override is TRUE then it can be automatically set.
  return variable_get('acquia_spi_set_variables_automatic', array(
    'acquia_spi_set_variables_automatic',
    'error_level',
    'preprocess_js',
    'page_cache_maximum_age',
    'block_cache',
    'preprocess_css',
    'page_compression',
    'cache',
    'cache_lifetime',
    'image_allow_insecure_derivatives',
    'googleanalytics_cache',
    'acquia_spi_send_node_user',
    'acquia_spi_admin_priv',
    'acquia_spi_send_watchdog',
    'acquia_spi_use_cron',
  ));
}