function _libraries_test_pre_detect_callback in Libraries API 8.3
Sets the 'pre-detect callback' key.
This function is used as a test callback for the 'pre-detect' callback group.
See also
2 string references to '_libraries_test_pre_detect_callback'
- LibrariesWebTest::testCallbacks in src/
Tests/ LibrariesWebTest.php - Tests the applying of callbacks.
- libraries_test_libraries_info in tests/
modules/ libraries_test/ libraries_test.module - Implements hook_libraries_info().
File
- tests/
modules/ libraries_test/ libraries_test.module, line 387 - Tests the library detection and loading.
Code
function _libraries_test_pre_detect_callback(&$library, $version, $variant) {
_libraries_test_callback($library, $version, $variant, 'pre-detect');
}