system.module

Version 1.1005 (checked in on 2011/02/19 at 00:50:43 by dries)

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

Functions & methods

NameDescription
blocked_ip_loadRetrieve a blocked IP address from the database.
confirm_formGenerates a form array for a confirmation form.
system_action_infoImplements hook_action_info().
system_add_module_assetsAdds CSS and JavaScript files declared in module .info files.
system_admin_compact_modeDetermines if the current 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.
system_check_http_requestChecks whether the server is capable of issuing HTTP requests.
system_cronImplements hook_cron().
system_custom_themeImplements hook_custom_theme().
system_date_formatsImplements hook_date_formats().
system_date_formats_rebuildResets the database cache of date formats and saves all new date formats.
system_date_format_deleteDeletes a date format from the database.
system_date_format_localeGets the appropriate date format string for a date type and locale.
system_date_format_saveSaves a date format to the database.
system_date_format_typesImplements hook_date_format_types().
system_date_format_type_deleteDeletes a date type from the database.
system_date_format_type_saveSaves 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_infoImplements hook_filetransfer_info().
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_formatGets the format details for a particular format ID.
system_get_date_formatsGets the list of defined date formats and attributes.
system_get_date_typesGets 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_infoReturns an array of information about enabled 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_preprocess_blockImplements hook_preprocess_block().
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_formReturns HTML for a confirmation form.
theme_exposed_filtersReturns HTML for an exposed filter form.
theme_system_compact_linkReturns HTML for a link to show or hide inline help descriptions.
theme_system_powered_byReturns HTML for the Powered by Drupal text.
theme_system_settings_formReturns HTML for a system settings form.
_system_batch_themeTheme callback for the default batch page.
_system_date_formats_buildBuilds and returns information about available date formats.
_system_date_format_types_buildBuilds and returns information about available date types.
_system_default_theme_featuresReturns an array of default theme features.
_system_info_add_pathPrefixes all values in an .info file array with a given path.
_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_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.

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 regions.
REGIONS_VISIBLEReturn only visible regions.