You are here

function oa_wizard_create in Open Atrium Wizard 7.2

Create a wizard object.

1 call to oa_wizard_create()
oa_wizard_entities_add_page in ./oa_wizard.admin.inc
Page callback to add a new pane entity.
1 string reference to 'oa_wizard_create'
oa_wizard_entity_info in ./oa_wizard.module
Implements hook_crud_hook_entity_info().

File

./oa_wizard.module, line 349
Code for the OpenAtrium Wizard.

Code

function oa_wizard_create($values = array()) {
  $values += array(
    'bundle' => 'wizard',
    'title' => '',
    'name' => '',
    'module' => 'oa_wizard',
    'status' => 1,
    'language' => LANGUAGE_NONE,
  );
  return entity_get_controller('oa_wizard')
    ->create($values);
}