You are here

function honeypot_get_css_file_path in Honeypot 7

Retrieve the location of the Honeypot CSS file.

Return value

string The path to the honeypot.css file.

8 calls to honeypot_get_css_file_path()
HoneypotCssTestCase::testHoneypotCssAvailability in ./honeypot.test
Test CSS file availability.
HoneypotCssTestCase::testHoneypotCssNonpublicFileSystem in ./honeypot.test
Test CSS works when default file scheme is not public://
HoneypotCssTestCase::testHoneypotCssRegeneration in ./honeypot.test
Test CSS file regeneration.
HoneypotCssTestCase::testHoneypotCssRegenerationOnCron in ./honeypot.test
Test cron-based CSS file regeneration.
HoneypotCssTestCase::testHoneypotCssUpdateOnCron in ./honeypot.test
Test cron-based CSS file update.

... See full list

File

./honeypot.module, line 505
Honeypot module, for deterring spam bots from completing Drupal forms.

Code

function honeypot_get_css_file_path() {
  return honeypot_file_default_scheme() . '://honeypot/honeypot.css';
}