You are here

function page_manager_handler_clone in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 page_manager/page_manager.admin.inc \page_manager_handler_clone()

Rearrange the order of variants.

1 string reference to 'page_manager_handler_clone'
page_manager_get_handler_operations in page_manager/page_manager.admin.inc
Collect all the operations related to task handlers (variants) and build a menu.

File

page_manager/page_manager.admin.inc, line 1590
Administrative functions for the page manager.

Code

function page_manager_handler_clone(&$form, &$form_state) {

  // This provides its own button because it does something totally different.
  $form['title'] = array(
    '#type' => 'textfield',
    '#title' => t('Variant name'),
    '#description' => t('Enter the name of the new variant.'),
  );
}