You are here

Functions in Magic 7

Primary tabs

Namesort descending Location Description Direct uses Strings
hook_magic ./magic.api.php A hook for modules to add their settings to the magic settings array.
hook_magic_alter ./magic.api.php Allows altering of the magic settings array.
magic_add_js includes/scripts-experimental.inc Adds a JavaScript file, setting, or inline code to the page. 1
magic_aggregate_css includes/styles.inc Magic override callback to aggregate CSS files and inline content. 1
magic_aggregate_js includes/scripts-experimental.inc Default callback to aggregate JavaScript files.
magic_build_css_cache includes/styles.inc Aggregates and optimizes CSS files into a cache file in the files directory. 1
magic_build_js_cache includes/scripts-experimental.inc Aggregates JavaScript files into a cache file in the files directory. 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_magic magic_dev/magic_dev.module Implements hook_magic().
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_drush_cache_clear ./magic.module Implements hook_drush_cache_clear().
magic_element_info_alter ./magic.module Implements hook_element_info_alter().
magic_exclude_assets includes/magic.inc Helper function for eliminating elements from an array using a simplified regex pattern. 1
magic_experimental_js includes/scripts-experimental.inc Returns a themed presentation of all JavaScript code for the current page. 1 2
magic_export_settings ./magic.module Exports theme settings. 1
magic_export_settings_submit ./magic.module Submit hook for magic_export_settings().
magic_extension_assets_theme_settings_form_submit ./magic.module Submit handler for the theme settings form. 1
magic_flush_caches ./magic.module Implements hook_flush_caches().
magic_form_system_theme_settings_alter ./magic.module Implements hook_form_alter().
magic_generate_asset_mapping includes/magic.inc Helper function for generating a map of assets based on the data attribute. 1
magic_generate_exclude_full includes/magic.inc Helper function to change magic keywords into the exclude array. 1
magic_generate_path_regex includes/magic.inc Helper function for generating a regex from a list of paths. 1
magic_get_js includes/scripts.inc Returns a themed presentation of all JavaScript code for the current page. 1
magic_goto_export ./magic.module A helper function to send the form to the settings export page. 1
magic_group_css includes/styles.inc Magic override callback to group CSS items. 1
magic_group_js includes/scripts-experimental.inc Default callback to group JavaScript items.
magic_help ./magic.module Implements hook_help().
magic_install ./magic.install Implements hook_install().
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_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_template_process_html_override ./magic.module Overrides template_process_html() in order to provide support for awesome new stuffzors! 1
magic_theme_registry_alter ./magic.module Implements hook_theme_registry_alter().
_magic_build_info_file ./magic.module Helper function to build the contents of the .info file. 1
_magic_build_settings_php_export ./magic.module A helper function to print the theme settings withing settings.php. 1
_magic_check_cache ./magic.module Checks the magic cache. 1
_magic_clear_cache ./magic.module A helper function to clear the magic cache. 1 1
_magic_set_cache ./magic.module Sets the magic cache. 1

Other projects