You are here

function esi_block_block_admin_configure_submit in ESI: Edge Side Includes 7.3

Submit handler for the block_admin_configure form.

1 string reference to 'esi_block_block_admin_configure_submit'
esi_block_form_block_admin_configure_alter in modules/esi_block/esi_block.module
Implements hook_form_FORM_ID_alter(). for block_admin_configure Add ESI-configuration options to the block-config pages.

File

modules/esi_block/esi_block.module, line 158
ESI handler for blocks.

Code

function esi_block_block_admin_configure_submit($form, &$form_state) {

  // The regular block-configuration form only saves particular fields. This
  // submit handler stores the ESI-specific data.
  esi_block__set_esi_settings($form_state['values']['module'], $form_state['values']['delta'], (bool) $form_state['values']['esi_enabled'], (int) $form_state['values']['esi_ttl']);
}