You are here

function gathercontent_import_cache_set in GatherContent 7

Same name and namespace in other branches
  1. 7.3 gathercontent.import.inc \gathercontent_import_cache_set()

Stores CTools' multistep form cache so we can retain data from form to form.

Parameters

string $name: cache id.

object $object: object with form values.

1 call to gathercontent_import_cache_set()
gathercontent_import_next in ./gathercontent.module
Handles the 'next' click on the add/edit pane form wizard.

File

./gathercontent.module, line 163
Imports pages from GatherContent (http://gathercontent.com/) into Drupal as nodes.

Code

function gathercontent_import_cache_set($name, $object) {
  ctools_include('object-cache');
  ctools_object_cache_set('gathercontent_import', $name, $object);
}