You are here

function _ocupload_get_path in One Click Upload 7.2

Same name and namespace in other branches
  1. 7 ocupload.module \_ocupload_get_path()

Return module path.

5 calls to _ocupload_get_path()
ocupload_ckeditor_plugin in ./ocupload.module
Implements hook_ckeditor_plugin().
ocupload_features_api in ./ocupload.module
Implements hook_features_api().
ocupload_library in ./ocupload.module
Implements hook_library().
ocupload_preprocess_html in ./ocupload.module
Implements hook_preprocess_html().
ocupload_wysiwyg_plugin in ./ocupload.module
Implements hook_wysiwyg_plugin().

File

./ocupload.module, line 393

Code

function _ocupload_get_path() {
  static $module_path;
  if ($module_path === NULL) {
    $module_path = drupal_get_path('module', 'ocupload');
  }
  return $module_path;
}