You are here

function page_manager_handler_disable in Chaos Tool Suite (ctools) 7

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

Form to disable a page.

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

Code

function page_manager_handler_disable($form, &$form_state) {
  $form['markup'] = array(
    '#markup' => t('This variant is currently enabled. Disabling it will make it unavailable in your system, and it will not be used. This will not take effect until you save this page.'),
  );
  return $form;
}