Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

7.x 2.x Function: at_library

Andy Truong edited this page Feb 26, 2014 · 1 revision

at_library($library_name)

  • Returns ./sites/example.com/libraries/$library_name/ if exists
  • Else, Returns ./sites/all/libraries/$library_name/ if exists
  • Else, throw new exception.

at_library($library_name, $version)

  • Returns ./sites/example.com/libraries/$library_name/$version if exists
  • Else, Returns ./sites/all/libraries/$library_name/$version if exists
  • Else, throw new exception.

Clone this wiki locally