You are here

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

Same name and namespace in other branches
  1. 7.3 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';
}