You are here

function insert_block_filter_info in Insert Block 7

Implementation of hook_filter_info().

File

./insert_block.module, line 33
Insert blocks into the body of a node

Code

function insert_block_filter_info() {
  $filters['insert_block'] = array(
    'title' => t('Insert blocks'),
    'description' => t('Inserts the contents of a block into a node using [block:module=delta] tags.'),
    'process callback' => '_insert_block',
    'settings callback' => '_insert_block_settings',
    'tips callback' => '_insert_block_tips',
    'default settings' => array(
      'check_roles' => 0,
    ),
    'cache' => FALSE,
  );
  return $filters;
}