You are here

Functions in Magic 7.2

Primary tabs

Namesort descending Location Description Direct uses Strings
magic_add_js includes/scripts-experimental.inc Adds a JavaScript file, setting, or inline code to the page. 1
magic_aggregate_js includes/scripts-experimental.inc Default callback to aggregate JavaScript files.
magic_assets_exclude includes/magic.assets.inc Eliminates elements from an array using a simplified regex pattern. 3
magic_assets_generate_mapping includes/magic.assets.inc Helper function for generating a map of assets based on the data attribute. 1
magic_assets_prepare_regex includes/magic.assets.inc Helper function for generating a regex from a list of paths. 1
magic_assets_regex_steps includes/magic.assets.inc Groups include/exclude patterns together. 3
magic_build_js_cache includes/scripts-experimental.inc Aggregates JavaScript files into a cache file in the files directory. 1
magic_clear_cache ./magic.module A helper function to clear the magic cache. 1 1
magic_css_alter ./magic.module Implements hook_css_alter().
magic_css_js_alter ./magic.module Helper function to remove unwanted css or js. 2
magic_dev_form_system_theme_settings magic_dev/magic_dev.module Implements hook_form_alter()-ish. 1
magic_dev_preprocess_html magic_dev/magic_dev.module Implements hook_preprocess_html().
magic_dev_process_html magic_dev/magic_dev.module Implements hook_process_html().
magic_dev_requirements magic_dev/magic_dev.module Implements hook_requirements().
magic_drush_cache_clear includes/magic.drush.inc Implements hook_drush_cache_clear().
magic_experimental_js includes/scripts-experimental.inc Returns a themed presentation of all JavaScript code for the current page. 1 2
magic_export_settings includes/magic.export.inc Exports theme settings. 1
magic_export_settings_submit includes/magic.export.inc Submit handler for the theme settings export form.
magic_flush_caches ./magic.module Implements hook_flush_caches().
magic_form_system_theme_settings includes/magic.settings.inc Implements hook_form_alter()-ish. 1
magic_form_system_theme_settings_alter ./magic.module Implements hook_form_alter().
magic_form_system_theme_settings_submit includes/magic.settings.inc Submit handler for the theme settings form. 1
magic_get_js includes/scripts.inc Returns a themed presentation of all JavaScript code for the current page. 1
magic_group_js includes/scripts-experimental.inc Default callback to group JavaScript items.
magic_help ./magic.module Implements hook_help().
magic_js_alter ./magic.module Implements hook_js_alter().
magic_js_defaults includes/scripts-experimental.inc Constructs an array of the defaults that are used for JavaScript items. 1
magic_menu ./magic.module Implements hook_menu().
magic_module_implements_alter ./magic.module Implements hook_module_implements_alter().
magic_pre_render_scripts includes/scripts-experimental.inc #pre_render callback to add the elements needed for JavaScript tags to be rendered.
magic_schema ./magic.install Implements hook_schema().
magic_sort_css_js includes/scripts-experimental.inc Sorts CSS and JavaScript resources. 1
magic_system_themes_page_alter ./magic.module Implements hook_system_themes_page_alter().
magic_template_process_html_override ./magic.module Overrides template_process_html(). 1
magic_theme_load ./magic.module Menu system load callback.
magic_theme_registry_alter ./magic.module Implements hook_theme_registry_alter().
_magic_build_info_file includes/magic.export.inc Helper function to build the contents of the .info file. 1
_magic_build_settings_php_export includes/magic.export.inc A helper function to print the theme settings withing settings.php. 1
_magic_initialize_magic_vars ./magic.module Alters the theme settings variables to include variables within settings.php. 1

Other projects