You are here

function countries_import_plugins in Countries 8

Utility: Find plugins implementing hook_countries_import().

1 call to countries_import_plugins()
_countries_import_bulk_import_source_form in modules/countries_import/countries_import.admin.inc

File

modules/countries_import/countries_import.module, line 35

Code

function countries_import_plugins($plugin = NULL) {
  static $countries_import_plugins = NULL;
  if (!isset($countries_import_plugins)) {
    $countries_import_plugins = module_invoke_all('countries_import');
  }
  if ($plugin) {
    return $countries_import_plugins[$plugin];
  }
  return $countries_import_plugins;
}