You are here

function elevatezoomplus_libraries_get_path in ElevateZoom Plus 8

Provides a wrapper to replace deprecated libraries_get_path() at ease.

@todo remove and replace with blazy_libraries_get_path() post blazy:8.x-2.0.

2 calls to elevatezoomplus_libraries_get_path()
ElevateZoomPlusManager::libraryInfoAlter in src/ElevateZoomPlusManager.php
Implements hook_library_info_alter().
elevatezoomplus_requirements in ./elevatezoomplus.install
Implements hook_requirements().

File

./elevatezoomplus.module, line 207
Provides ElevateZoomPlus integration.

Code

function elevatezoomplus_libraries_get_path($name, $base_path = FALSE) {
  return function_exists('blazy_libraries_get_path') ? blazy_libraries_get_path($name, $base_path) : FALSE;
}