You are here

function _libraries_test_module_return_installed in Libraries API 7.3

Same name and namespace in other branches
  1. 7.2 tests/modules/libraries_test_module/libraries_test_module.module \_libraries_test_module_return_installed()

Detects the variant of an example library.

Returns exactly the value of $installed, either TRUE or FALSE. This function cannot be collapsed with _libraries_test_module_return_version(), because of the different arguments that are passed automatically.

1 string reference to '_libraries_test_module_return_installed'
libraries_test_module_libraries_info in tests/modules/libraries_test_module/libraries_test_module.module
Implements hook_libraries_info().

File

tests/modules/libraries_test_module/libraries_test_module.module, line 388
Tests the library detection and loading.

Code

function _libraries_test_module_return_installed($library, $name, $installed) {
  return $installed;
}