function _libraries_test_return_version in Libraries API 8.3
Gets the version of an example library.
Returns exactly the version string entered as the $version parameter. This function cannot be collapsed with _libraries_test_return_installed(), because of the different arguments that are passed automatically.
1 string reference to '_libraries_test_return_version'
- 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 305 - Tests the library detection and loading.
Code
function _libraries_test_return_version($library, $version) {
return $version;
}