You are here

function page_manager_break_lock in Chaos Tool Suite (ctools) 6

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

Break the lock on a page so that it can be edited.

1 string reference to 'page_manager_break_lock'
page_manager_get_operations in page_manager/page_manager.admin.inc
Take the operations array from a task and expand it.

File

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

Code

function page_manager_break_lock(&$form, &$form_state) {
  $form['markup'] = array(
    '#value' => t('Breaking the lock on this page will <strong>discard</strong> any pending changes made by the locking user. Are you REALLY sure you want to do this?'),
  );
}