function block_filter_filter_block_filter_tips in Block Filter 7
Implements hook_filter_tips().
1 string reference to 'block_filter_filter_block_filter_tips'
- block_filter_filter_info in ./
block_filter.module - Implements hook_filter_info().
File
- ./
block_filter.module, line 36 - Block Filter provides a simple input filter to allow an editor (with permission) to embed any block on the site into the content
Code
function block_filter_filter_block_filter_tips($filter, $format, $long) {
if ($long) {
return t('You may embed blocks using the syntax <code>[block:MODULE:DELTA]</code>, for example: <code>[block:system:0]</code> will provide the <em>Powered By Drupal</em> block.');
}
else {
return t('You may embed blocks using the syntax <code>[block:MODULE:DELTA]</code>.');
}
}