system.module

Version 1.843 (checked in on 2009/11/19 at 01:24:44 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_infoImplement 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_archiver_infoImplement 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_infoImplement hook_block_info().
system_block_ip_actionImplement a Drupal action. Blocks the user's IP address.
system_block_viewImplement hook_block_view().
system_build_contextual_linksBuild a renderable array for contextual links.
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_cronImplement 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_infoImplement hook_element_info().
system_entity_infoImplement hook_entity_info().
system_filetransfer_backendsImplement 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_alterImplement hook_form_FORM_ID_alter().
system_form_user_register_form_alterImplement 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_action
system_goto_action_formImplement a configurable Drupal action. Redirect user to a URL.
system_goto_action_submit
system_helpImplement hook_help().
system_hook_infoImplement hook_hook_info().
system_image_toolkitsImplement hook_image_toolkits().
system_initImplement hook_init().
system_libraryImplementation of hook_library().
system_mailImplement hook_mail().
system_menuImplement hook_menu().
system_message_actionA configurable Drupal action. Sends a message to the current user's screen.
system_message_action_form
system_message_action_submit
system_page_buildImplement hook_page_build().
system_permissionImplement hook_permission().
system_preprocessTemplate variable preprocessor for contextual links.
system_rdf_namespacesImplement hook_rdf_namespaces().
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_cron_imageMenu callback; executes cron via an image callback.
system_run_cron_image_accessChecks if the feature to automatically run cron is enabled.
system_send_email_actionImplement a configurable Drupal action. Sends an email.
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_wrappersImplement hook_stream_wrappers().
system_system_info_alterImplement hook_system_info_alter().
system_themeImplement 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_infoImplement hook_updater_info().
system_update_files_databaseUpdates the records in the system table based on the files array.
system_user_loginImplement 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_run_cron_imageDisplay image used to run cron automatically.
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.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.