You are here

Common Functionality - Settings in Common Functionality 7.2

Provides dynamic management for php ini settings.

Justification: Modules may depend on php ini settings or even provide their own global settings that must be defined in drupals settings.php. While defining these settings inside of the /sites/default/settings.php file is the more efficient way to go, this is not a good idea for systems that need these settings to be dynamic.

Some modules, such as the insert module, even define their own custom settings that must go inside of the /sites/default/settings.php file, but end-users have no obvious way of knowing about and managing these settings.

For those modules that do define their own custom settings.php variables, there also exists the possibility of naming conflicts.

This module defines a toolkit that helps manage and communicate these php settings and custom variables.

References:

Parent topics

File

modules/cf_settings/cf_settings.module, line 8
Common Functionality - PHP INI module.

Functions

Namesort descending Location Description
cf_settings_administer_variables modules/cf_settings/pages/variables.admin.inc Display the system variables registry.
cf_settings_boot modules/cf_settings/cf_settings.module Implements hook_boot().
cf_settings_cf_permission_alter modules/cf_settings/cf_settings.module Implements hook_cf_permission_alter().
cf_settings_get_registered modules/cf_settings/cf_settings.module Obtains the registered variables based on the given conditions.
cf_settings_get_variable_types modules/cf_settings/cf_settings.module Get an array of supported variable type options.
cf_settings_get_variable_types_list modules/cf_settings/cf_settings.module Get an array of supported variable type options list.
cf_settings_is_registered modules/cf_settings/cf_settings.module Determine if a variable is registered or not.
cf_settings_menu modules/cf_settings/cf_settings.module Implements hook_menu().
cf_settings_modules_uninstalled modules/cf_settings/cf_settings.module Implements hook_modules_uninstalled().
cf_settings_register modules/cf_settings/cf_settings.module Add a variable name and type to the variables registry.
cf_settings_theme modules/cf_settings/cf_settings.module Implements hook_theme().
cf_settings_unregister modules/cf_settings/cf_settings.module Remove a registered variable from the variables registry.