You are here

function ga_push_method_php_ga_available in GA Push 8

Same name and namespace in other branches
  1. 7 ga_push.module \ga_push_method_php_ga_available()

Checks if php_ga library is available.

1 string reference to 'ga_push_method_php_ga_available'
ga_push_ga_push_method in ./ga_push.module
Implements hook_ga_push_method().

File

./ga_push.module, line 755
Drupal Module: GA Push.

Code

function ga_push_method_php_ga_available() {
  $libraries = libraries_get_libraries();
  return strnatcmp(phpversion(), '5.3.0') >= 0 && isset($libraries['php-ga']);
}