You are here

function _libraries_test_info_callback in Libraries API 8.3

Sets the 'info callback' key.

This function is used as a test callback for the 'info' callback group.

See also

_libraries_test_callback()

2 string references to '_libraries_test_info_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 376
Tests the library detection and loading.

Code

function _libraries_test_info_callback(&$library, $version, $variant) {
  _libraries_test_callback($library, $version, $variant, 'info');
}