You are here

function social_content_run_import in Social Content 7.2

Same name and namespace in other branches
  1. 7 social_content.module \social_content_run_import()

Run an import for a particular instance.

Parameters

array $instance: The full loaded instance

array $settings_override: (Optional) Pass through settings in a key => value array to override instance and global settings.

Return value

mixed Whatever is returned by the import process

2 calls to social_content_run_import()
drush_social_content_import in ./social_content.drush.inc
Callback function for drush social-content-import command.
social_content_cron in ./social_content.module
Implements hook_cron().
1 string reference to 'social_content_run_import'
social_content_cronapi in ./social_content.module
Implements hook_cronapi().

File

./social_content.module, line 232
Social Content module.

Code

function social_content_run_import($instance, $settings_override = array()) {
  return $instance
    ->import($settings_override);
}