You are here

Functions in JS injector 7

Primary tabs

Namesort descending Location Description Direct uses Strings
js_injector_admin_delete_button ./js_injector.admin.inc Delete button callback for the JS rule listing form. Redirects the user to the confirmation form. 2
js_injector_admin_edit_button ./js_injector.admin.inc Edit button callback for the JS rule listing form. 1
js_injector_admin_form ./js_injector.admin.inc Form builder function for JS Injector's main admin page. 1
js_injector_delete_confirm ./js_injector.admin.inc Menu callback -- ask for confirmation of rule deletion. 1
js_injector_delete_confirm_submit ./js_injector.admin.inc Execute node deletion.
js_injector_edit ./js_injector.admin.inc Form builder function for the JS rule edit form. 1
js_injector_edit_save ./js_injector.admin.inc Submit button callback for the JS rule edit form. 1 1
js_injector_edit_save_and_continue ./js_injector.admin.inc Save and continue callback for the JS rule edit form. 1
js_injector_edit_validate ./js_injector.admin.inc Validation callback for the JS rule edit form.
js_injector_help ./js_injector.module Implements hook_help().
js_injector_init ./js_injector.module Implements hook_init(). Checks to see whether any JS files should be added to the current page, based on rules configured by the site administrator.
js_injector_install ./js_injector.install Implements hook_install().
js_injector_js_alter ./js_injector.module Implements hook_js_alter(). Since we're trying to give the administrator complete control, we'll move JS that this module has added to a high weight, higher even than the theme's JS files. Currently the weight is 200 + the crid, which…
js_injector_menu ./js_injector.module Implements hook_menu(). Defines menu callbacks for JS Injector's configuration pages.
js_injector_permission ./js_injector.module Implements hook_permission().
js_injector_requirements ./js_injector.install Implements hook_requirements(). We'll use this to prevent installation of the module if the file directory is not available and writable.
js_injector_schema ./js_injector.install Implements hook_schema().
js_injector_theme ./js_injector.module Implements hook_theme().
js_injector_uninstall ./js_injector.install Implements hook_uninstall().
theme_js_injector_admin_form ./js_injector.admin.inc Theme function for the JS Injector admin overview form.
_js_injector_delete_rule ./js_injector.module Helper function to delete an existing rule and its accompanying file. 1
_js_injector_evaluate_rule ./js_injector.module Helper function to determine whether a rule's conditions are met. 1
_js_injector_load_rule ./js_injector.module Helper function to load all JS injection rules. 7
_js_injector_rule_path ./js_injector.module Helper function to get file path for a rule. This will get the path relative to DRUPAL_ROOT, as in 'sites/default/files/js_injector/js_injector_99.js'. 6
_js_injector_rule_uri ./js_injector.module Return the URI for a crid. 2

Other projects