You are here

public function AddThis::getWidgetJsAsync in AddThis 7.4

Return if async initialization should be active.

Return value

bool Returns TRUE if async is enabled.

File

classes/AddThis.php, line 296
An AddThis-class.

Class

AddThis
@file An AddThis-class.

Code

public function getWidgetJsAsync() {
  return variable_get(self::WIDGET_JS_LOAD_ASYNC, self::DEFAULT_WIDGET_JS_LOAD_ASYNC);
}