You are here

function context_admin_create in Contextual Administration 7

Return a new instance of a generic object.

$name - The name assigned to the new object.

1 call to context_admin_create()
context_admin_get_page_cache in ./context_admin.module
Return a CTools cache page identified by $name if it exists, or a new one if it does not.

File

./context_admin.module, line 52

Code

function context_admin_create($name) {
  $cache = new stdClass();
  $cache->task_name = $name;
  return $cache;
}