You are here

function ds_filter_info in Display Suite 7

Implements hook_filter_info().

File

./ds.module, line 371
Display Suite core functions.

Code

function ds_filter_info() {
  $filters['ds_code'] = array(
    'title' => t('Display Suite evaluator'),
    'description' => t('This filter will only work in the Display Suite text format, machine name is <em>ds_code</em>. No other filters can be enabled either.'),
    'process callback' => 'ds_php_eval',
    'tips callback' => 'ds_filter_tips',
    'cache' => FALSE,
  );
  return $filters;
}