You are here

constant CSS_INJECTOR_PHP in CSS Injector 7

Deploy this CSS snippet only if the associated PHP code returns TRUE.

2 uses of CSS_INJECTOR_PHP
CSSInjectorTest::testCSSInjectionUI in ./css_injector.test
Test the Administrative UI, making sure it does what it ought to do.
_css_injector_evaluate_rule in ./css_injector.module
Helper function to determine whether a rule's conditions are met.

File

./css_injector.module, line 24
Allows administrators to inject CSS into the page output based on configurable rules. Useful for adding simple CSS tweaks without modifying a site's official theme.

Code

define('CSS_INJECTOR_PHP', 2);