You are here

function boost_block_flush_form in Boost 7

Same name and namespace in other branches
  1. 6 boost.module \boost_block_flush_form()
1 string reference to 'boost_block_flush_form'
boost_block_view_status in ./boost.blocks.inc
@file Prints the cache status of the currently displayed page.

File

./boost.blocks.inc, line 71
Prints the cache status of the currently displayed page.

Code

function boost_block_flush_form() {
  $form = array();
  $form['boost_cache']['clear'] = array(
    '#type' => 'submit',
    '#value' => t('Flush Page'),
  );
  return $form;
}