public function Common::getFolderViewOptions in Filebrowser 3.x
Same name and namespace in other branches
- 8.2 src/Services/Common.php \Drupal\filebrowser\Services\Common::getFolderViewOptions()
File
- src/
Services/ Common.php, line 62
Class
- Common
- Class Common @package Drupal\filebrowser\Services
Namespace
Drupal\filebrowser\ServicesCode
public function getFolderViewOptions() {
return [
'list-view' => [
'title' => $this
->t('Table - List of files in a table'),
'theme' => 'dir_listing_list_view',
],
'icon-view' => [
'title' => $this
->t('Grid - Thumbnail (or icon) of the files in a grid'),
'theme' => 'dir_listing_icon_view',
],
];
}