You are here

function workbench_create in Workbench 7

Simple page to show list of content type to create.

Return value

A Render API array of content creation options.

See also

hook_workbench_create_alter()

1 string reference to 'workbench_create'
workbench_menu in ./workbench.module
Implements hook_menu().

File

./workbench.pages.inc, line 87
Workbench page callbacks.

Code

function workbench_create() {
  $output = array();
  $output['workbench_create_default'] = _workbench_create();

  // Allow other modules to add content here.
  drupal_alter('workbench_create', $output);
  return $output;
}