function _libraries_test_pre_load_callback in Libraries API 8.3
Sets the 'pre-load callback' key.
This function is used as a test callback for the 'pre-load' callback group.
See also
2 string references to '_libraries_test_pre_load_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 409 - Tests the library detection and loading.
Code
function _libraries_test_pre_load_callback(&$library, $version, $variant) {
_libraries_test_callback($library, $version, $variant, 'pre-load');
}