You are here

function page_manager_page_new in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 page_manager/plugins/tasks/page.inc \page_manager_page_new()

Create a new page with defaults appropriately set from schema.

1 call to page_manager_page_new()
page_manager_page_add_subtask in page_manager/plugins/tasks/page.admin.inc
Page callback to add a subtask.

File

page_manager/plugins/tasks/page.inc, line 374
Handle the 'page' task, which creates pages with arbitrary tasks and lets handlers decide how they will be rendered.

Code

function page_manager_page_new() {
  ctools_include('export');
  return ctools_export_new_object('page_manager_pages');
}