You are here

function asset_filter_info in Asset 7

Implements hook_filter_info().

File

./asset.module, line 510
Asset module.

Code

function asset_filter_info() {
  $filters['assets_filter'] = array(
    'title' => t('Convert asset tags to markup'),
    'description' => t('This filter will convert [[asset:...]] tags into markup'),
    'process callback' => 'assets_filter_process',
    'cache' => FALSE,
  );
  $filters['assets_cut_filter'] = array(
    'title' => t('Remove asset tags from output'),
    'description' => t('This filter will remove [[asset:...]] from output'),
    'process callback' => 'assets_cut_filter_process',
    'cache' => TRUE,
  );
  return $filters;
}