You are here

function _filter_example_filter_time_tips in Examples for Developers 7

Filter tips callback for time filter.

The tips callback allows filters to provide help text to users during the content editing process. Short tips are provided on the content editing screen, while long tips are provided on a separate linked page. Short tips are optional, but long tips are highly recommended.

Related topics

1 string reference to '_filter_example_filter_time_tips'
filter_example_filter_info in filter_example/filter_example.module
Implements hook_filter_info().

File

filter_example/filter_example.module, line 197
Module file for filter_example.

Code

function _filter_example_filter_time_tips($filter, $format, $long = FALSE) {
  return t('<em>&lt;time /&gt;</em> is replaced with the current time.');
}