You are here

function page_manager_handler_enable in Chaos Tool Suite (ctools) 7

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

Form to enable a handler.

1 string reference to 'page_manager_handler_enable'
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 1706
Administrative functions for the page manager.

Code

function page_manager_handler_enable($form, &$form_state) {
  $form['markup'] = array(
    '#markup' => t('This variant is currently disabled. Enabling it will make it available in your system. This will not take effect until you save this page.'),
  );
  return $form;
}