You are here

public static function ShareaholicUtilities::get_drupal_version in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3

Same name and namespace in other branches
  1. 8 utilities.php \ShareaholicUtilities::get_drupal_version()

Get the drupal version via VERSION constant if it exists

1 call to ShareaholicUtilities::get_drupal_version()
ShareaholicUtilities::log_event in ./utilities.php
This is a wrapper for the Event API

File

./utilities.php, line 776

Class

ShareaholicUtilities

Code

public static function get_drupal_version() {
  if (defined('VERSION')) {
    return VERSION;
  }
  return '7';
}