You are here

function page_manager_page_form_clone_validate in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 page_manager/plugins/tasks/page.admin.inc \page_manager_page_form_clone_validate()

Validate clone page form.

File

page_manager/plugins/tasks/page.admin.inc, line 1418
Administrative functions for the page subtasks.

Code

function page_manager_page_form_clone_validate(&$form, &$form_state) {
  $page =& $form_state['page']->subtask['subtask'];
  $page->old_name = $page->name;
  $page->name = NULL;
  page_manager_page_form_basic_validate($form, $form_state);
}