You are here

function filetree_filter_info in File Tree 7.2

Same name and namespace in other branches
  1. 7 filetree.module \filetree_filter_info()

Implements hook_filter_info().

File

./filetree.module, line 17

Code

function filetree_filter_info() {
  $filters['filetree'] = array(
    'title' => t('File Tree'),
    'description' => t('Replaces [filetree dir="some-directory"] with an inline list of files.'),
    'settings callback' => '_filetree_settings',
    'default settings' => array(
      'folders' => '*',
    ),
    'tips callback' => '_filetree_tips',
    'process callback' => '_filetree_process',
  );
  return $filters;
}