You are here

function phone_libraries_info in Phone 7.2

Implements hook_libraries_info().

1 call to phone_libraries_info()
phone_requirements in ./phone.install
Implements hook_requirements().

File

./phone.module, line 21
The phone module lets administrators use a phone number field type.

Code

function phone_libraries_info() {
  $libraries = array();
  $libraries['libphonenumber-for-php'] = array(
    // Only used in administrative UI of Libraries API.
    'name' => 'libphonenumber (PHP Port)',
    'vendor url' => 'https://github.com/chipperstudios/libphonenumber-for-php',
    'download url' => 'https://github.com/chipperstudios/libphonenumber-for-php/archive/master.zip',
    'version' => '1.0',
    'files' => array(
      'php' => array(
        'PhoneNumber.php',
        'PhoneNumberUtil.php',
        'CountryCodeToRegionCodeMap.php',
        'RegionCode.php',
        'PhoneMetadata.php',
        'PhoneNumberDesc.php',
        'NumberFormat.php',
        'PhoneNumberType.php',
        'PhoneNumberFormat.php',
        'Matcher.php',
        'CountryCodeSource.php',
        'NumberParseException.php',
        'ValidationResult.php',
      ),
    ),
    'integration files' => array(
      'phone' => array(
        'php' => array(
          'includes/phone.libphonenumber.inc',
        ),
      ),
    ),
  );
  return $libraries;
}