You are here

function filebrowser_filebrowser_presentations in Filebrowser 8

Same name and namespace in other branches
  1. 6.2 filebrowser.module \filebrowser_filebrowser_presentations()
  2. 7.4 filebrowser.module \filebrowser_filebrowser_presentations()
  3. 7.2 filebrowser.module \filebrowser_filebrowser_presentations()
  4. 7.3 filebrowser.module \filebrowser_filebrowser_presentations()

hook_filebrowser_presentation

File

./filebrowser.module, line 897
Validates file path input on node form

Code

function filebrowser_filebrowser_presentations() {
  return array(
    'list-view' => array(
      'title' => t('Present this folder as a list-view'),
      'theme' => 'dir_listing_list_view',
    ),
    'icon-view' => array(
      'title' => t('Present this folder as an icon-view'),
      'theme' => 'dir_listing_icon_view',
    ),
  );
}