constant JS_INJECTOR_PHP in JS injector 7
Deploy this JS snippet only if the associated PHP code returns TRUE.
1 use of JS_INJECTOR_PHP
- _js_injector_evaluate_rule in ./
js_injector.module - Helper function to determine whether a rule's conditions are met.
File
- ./
js_injector.module, line 24 - Allows administrators to inject JS into the page output based on configurable rules. Useful for adding simple JS tweaks without modifying a site's official theme.
Code
define('JS_INJECTOR_PHP', 2);