1 layout.admin.inc layout_block_configure_form_condition_edit($form, &$form_state)

Submit handler for layout_block_configure_form() to edit a condition.

File

core/modules/layout/layout.admin.inc, line 1455
Administrative functions for Layout module.

Code

function layout_block_configure_form_condition_edit($form, &$form_state) {
  /* @var Layout $layout */
  $layout = $form_state['layout'];
  /* @var Block $block */
  $block = $form_state['block'];

  $edit_condition = $form_state['clicked_button']['#array_parents'][2];
  $form_state['redirect'] = 'admin/structure/layouts/manage/' . $layout->name . '/condition/edit/' . $block->uuid . '/' . $edit_condition;
}