1 simpletest.test | SimpleTestFunctionalTest::inCURL() |
Check if the test is being run from inside a CURL request.
File
- core/
modules/ simpletest/ tests/ simpletest.test, line 343 - Tests for simpletest.module.
Class
Code
function inCURL() {
return (bool) backdrop_valid_test_ua();
}