You are here

function page_manager_handler_check_machine_name in Chaos Tool Suite (ctools) 7

2 string references to 'page_manager_handler_check_machine_name'
page_manager_handler_add_form in page_manager/page_manager.admin.inc
Provide a consistent UI for adding handlers.
page_manager_http_response_edit_settings in page_manager/plugins/task_handlers/http_response.inc
General settings for the panel.

File

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

Code

function page_manager_handler_check_machine_name($name, $element, $form_state) {
  $name = $form_state['task_name'] . '__' . $name;
  return count(ctools_export_load_object('page_manager_handlers', 'names', array(
    $name,
  )));
}