system.module

Configuration system that lets administrators modify the workings of the site.

File

modules/system/system.module

Functions

Name Description
blocked_ip_load Retrieve a blocked IP address from the database.
confirm_form Generates a form array for a confirmation form.
system_action_info Implements hook_action_info().
system_add_module_assets Adds CSS and JavaScript files declared in module .info files.
system_admin_compact_mode Determines whether the current user is in compact mode.
system_admin_compact_page Menu callback; Sets whether the admin menu is in compact mode or not.
system_admin_menu_block Provide a single block on the administration overview page.
system_admin_paths Implements hook_admin_paths().
system_archiver_info Implements hook_archiver_info().
system_authorized_batch_process Use authorize.php to run batch_process().
system_authorized_batch_processing_url Returns the URL for the authorize.php script when it is processing a batch.
system_authorized_get_url Return the URL for the authorize.php script.
system_authorized_init Setup a given callback to run via authorize.php with elevated privileges.
system_authorized_run Setup and invoke an operation using authorize.php.
system_block_info Implements hook_block_info().
system_block_ip_action Blocks the current user's IP address.
system_block_view Implements hook_block_view().
system_check_directory Checks the existence of the directory specified in $form_element.
system_check_http_request Checks whether the server is capable of issuing HTTP requests.
system_cron Implements hook_cron().
system_custom_theme Implements hook_custom_theme().
system_date_formats Implements hook_date_formats().
system_date_formats_rebuild Resets the database cache of date formats and saves all new date formats.
system_date_format_delete Deletes a date format from the database.
system_date_format_locale Gets the appropriate date format string for a date type and locale.
system_date_format_save Saves a date format to the database.
system_date_format_types Implements hook_date_format_types().
system_date_format_type_delete Deletes a date type from the database.
system_date_format_type_save Saves a date type to the database.
system_default_region Get the name of the default region for a given theme.
system_element_info Implements hook_element_info().
system_entity_info Implements hook_entity_info().
system_filetransfer_info Implements hook_filetransfer_info().
system_find_base_themes Find all the base themes for the specified theme.
system_flush_caches Implements hook_flush_caches().
system_form_user_profile_form_alter Implements hook_form_FORM_ID_alter().
system_form_user_register_form_alter Implements hook_form_FORM_ID_alter().
system_get_date_format Gets the format details for a particular format ID.
system_get_date_formats Gets the list of defined date formats and attributes.
system_get_date_types Gets the list of available date types and attributes.
system_get_files_database Retrieves the current status of an array of files in the system table.
system_get_info Returns an array of information about enabled modules or themes.
system_get_module_admin_tasks Generate a list of tasks offered by a specified module.
system_goto_action Redirects to a different URL.
system_goto_action_form Settings form for system_goto_action().
system_goto_action_submit
system_help Implements hook_help().
system_hook_info Implements hook_hook_info().
system_image_toolkits Implements hook_image_toolkits().
system_init Implements hook_init().
system_library Implements hook_library().
system_mail Implements hook_mail().
system_menu Implements hook_menu().
system_message_action Sends a message to the current user's screen.
system_message_action_form
system_message_action_submit
system_page_alter Implements hook_page_alter().
system_permission Implements hook_permission().
system_preprocess_block Implements hook_preprocess_block().
system_rebuild_module_data Rebuild, save, and return data about all currently available modules.
system_rebuild_theme_data Rebuild, save, and return data about all currently available themes.
system_region_list Get a list of available regions from a specified theme.
system_retrieve_file Attempts to get a file using drupal_http_request and to store it locally.
system_run_automated_cron Run the automated cron if enabled.
system_send_email_action Sends an e-mail message.
system_send_email_action_form Return a form definition so the Send email action can be configured.
system_send_email_action_submit Process system_send_email_action form submissions.
system_send_email_action_validate Validate system_send_email_action form submissions.
system_settings_form Sets up a form to save information automatically.
system_settings_form_submit Form submission handler for system_settings_form().
system_stream_wrappers Implements hook_stream_wrappers().
system_system_info_alter Implements hook_system_info_alter().
system_theme Implements hook_theme().
system_timezone Menu callback; Retrieve a JSON object containing a suggested time zone name.
system_time_zones Generate an array of time zones and their local time&date.
system_updater_info Implements hook_updater_info().
system_update_files_database Updates the records in the system table based on the files array.
system_user_login Implements hook_user_login().
system_user_timezone Add the time zone field to the user edit and register forms.
theme_confirm_form Returns HTML for a confirmation form.
theme_exposed_filters Returns HTML for an exposed filter form.
theme_system_compact_link Returns HTML for a link to show or hide inline help descriptions.
theme_system_powered_by Returns HTML for the Powered by Drupal text.
theme_system_settings_form Returns HTML for a system settings form.
_system_batch_theme Theme callback for the default batch page.
_system_date_formats_build Builds and returns information about available date formats.
_system_date_format_types_build Builds and returns information about available date types.
_system_default_theme_features Returns an array of default theme features.
_system_info_add_path Prefixes all values in an .info file array with a given path.
_system_rebuild_module_data Helper function to scan and collect module .info data.
_system_rebuild_theme_data Helper function to scan and collect theme .info data and their engines.
_system_sort_requirements Helper function to sort requirements.
_system_themes_access Menu item access callback - only admin or enabled themes can be accessed.
_system_update_bootstrap_status Refresh bootstrap column in the system table.

Constants

Name Description
DRUPAL_CRON_DEFAULT_THRESHOLD Default interval for automatic cron executions in seconds.
DRUPAL_DISABLED Disabled option on forms and settings
DRUPAL_MAXIMUM_TEMP_FILE_AGE Maximum age of temporary files in seconds.
DRUPAL_OPTIONAL Optional option on forms and settings
DRUPAL_REQUIRED Required option on forms and settings
DRUPAL_USER_TIMEZONE_DEFAULT New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY New users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECT New users will select their own timezone at registration.
DRUPAL_WEIGHT_SELECT_MAX Maximum number of values in a weight select element.
REGIONS_ALL Return all regions.
REGIONS_VISIBLE Return only visible regions.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/7.x