system.module

Version 1.903 (checked in on 2010/03/21 at 03:47:32 by webchick)

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

Constants

NameDescription
DRUPAL_CRON_DEFAULT_THRESHOLDDefault interval for automatic cron executions in seconds.
DRUPAL_DISABLEDDisabled option on forms and settings
DRUPAL_MAXIMUM_TEMP_FILE_AGEMaximum age of temporary files in seconds.
DRUPAL_OPTIONALOptional option on forms and settings
DRUPAL_REQUIREDRequired option on forms and settings
DRUPAL_USER_TIMEZONE_DEFAULTNew users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTYNew users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECTNew users will select their own timezone at registration.
REGIONS_ALLReturn all visible regions. @see system_region_list().
REGIONS_VISIBLEReturn only visible regions. @see system_region_list().

Functions

NameDescription
blocked_ip_loadRetrieve a blocked IP address from the database.
confirm_formOutput a confirmation form
system_action_infoImplements hook_action_info().
system_admin_compact_modeDetermine if a user is in compact mode.
system_admin_compact_pageMenu callback; Sets whether the admin menu is in compact mode or not.
system_admin_menu_blockProvide a single block on the administration overview page.
system_admin_pathsImplements hook_admin_paths().
system_archiver_infoImplements hook_archiver_info().
system_authorized_batch_processUse authorize.php to run batch_process().
system_authorized_get_urlReturn the URL for the authorize.php script.
system_authorized_initSetup a given callback to run via authorize.php with elevated privileges.
system_authorized_runSetup and invoke an operation using authorize.php.
system_block_infoImplements hook_block_info().
system_block_ip_actionBlocks the current user's IP address.
system_block_viewImplements hook_block_view().
system_check_directoryChecks the existence of the directory specified in $form_element. This function is called from the system_settings form to check both core file directories (file_public_path, file_private_path, file_temporary_path).
system_check_http_requestChecks whether the server is capable of issuing HTTP requests.
system_cronImplements hook_cron().
system_date_formatsImplements hook_date_formats().
system_date_formats_rebuildResets the database cache of date formats and saves all new formats.
system_date_format_deleteDelete a date format from the database.
system_date_format_localeGet the appropriate date format for a type and locale.
system_date_format_saveSave a date format to the database.
system_date_format_typesImplements hook_date_format_types().
system_date_format_type_deleteDelete a date type from the database.
system_date_format_type_saveSave a date type to the database.
system_default_regionGet the name of the default region for a given theme.
system_element_infoImplements hook_element_info().
system_entity_infoImplements hook_entity_info().
system_filetransfer_backendsImplements hook_filetransfer_backends().
system_filetransfer_backend_form_ftpReturns the form to configure the filetransfer class for FTP
system_filetransfer_backend_form_sshReturns the form to configure the filetransfer class for SSH
system_find_base_themesFind all the base themes for the specified theme.
system_flush_cachesImplements hook_flush_caches().
system_form_user_profile_form_alterImplements hook_form_FORM_ID_alter().
system_form_user_register_form_alterImplements hook_form_FORM_ID_alter().
system_get_date_formatGet the format details for a particular id.
system_get_date_formatsGet the list of date formats for a particular format length.
system_get_date_typesGet the list of available date types and attributes.
system_get_files_databaseRetrieves the current status of an array of files in the system table.
system_get_filetransfer_settings_formHelper function to return a form for configuring a filetransfer backend.
system_get_infoReturns an array of information about active modules or themes.
system_get_module_admin_tasksGenerate a list of tasks offered by a specified module.
system_goto_actionRedirects to a different URL.
system_goto_action_formSettings form for system_goto_action().
system_goto_action_submit
system_helpImplements hook_help().
system_hook_infoImplements hook_hook_info().
system_image_toolkitsImplements hook_image_toolkits().
system_initImplements hook_init().
system_libraryImplements hook_library().
system_mailImplements hook_mail().
system_menuImplements hook_menu().
system_message_actionSends a message to the current user's screen.
system_message_action_form
system_message_action_submit
system_page_alterImplements hook_page_alter().
system_permissionImplements hook_permission().
system_rebuild_module_dataRebuild, save, and return data about all currently available modules.
system_rebuild_theme_dataRebuild, save, and return data about all currently available themes.
system_region_listGet a list of available regions from a specified theme.
system_retrieve_fileAttempts to get a file using drupal_http_request and to store it locally.
system_run_automated_cronRun the automated cron if enabled.
system_send_email_actionSends an e-mail message.
system_send_email_action_formReturn a form definition so the Send email action can be configured.
system_send_email_action_submitProcess system_send_email_action form submissions.
system_send_email_action_validateValidate system_send_email_action form submissions.
system_settings_formAdd default buttons to a form and set its prefix.
system_settings_form_submitExecute the system_settings_form.
system_stream_wrappersImplements hook_stream_wrappers().
system_system_info_alterImplements hook_system_info_alter().
system_themeImplements hook_theme().
system_timezoneMenu callback; Retrieve a JSON object containing a suggested time zone name.
system_time_zonesGenerate an array of time zones and their local time&date.
system_updater_infoImplements hook_updater_info().
system_update_files_databaseUpdates the records in the system table based on the files array.
system_user_loginImplements hook_user_login().
system_user_timezoneAdd the time zone field to the user edit and register forms.
theme_confirm_formTheme confirmation forms.
theme_system_compact_linkDisplay the link to show or hide inline help descriptions.
theme_system_powered_byFormat the Powered by Drupal text.
theme_system_settings_formTheme function for the system settings form.
_system_batch_themeTheme callback for the default batch page.
_system_date_formats_buildBuilds and returns the list of available date formats.
_system_date_format_types_buildBuilds and returns the list of available date types.
_system_filetransfer_backend_form_commonHelper function because SSH and FTP backends share the same elements
_system_rebuild_module_dataHelper function to scan and collect module .info data.
_system_rebuild_theme_dataHelper function to scan and collect theme .info data and their engines.
_system_settings_form_automatic_defaults
_system_sort_requirementsHelper function to sort requirements.
_system_themes_accessMenu item access callback - only admin or enabled themes can be accessed.
_system_update_bootstrap_statusRefresh bootstrap column in the system table.