You are here

public function Common::getDownloadManagerOptions in Filebrowser 3.x

Same name and namespace in other branches
  1. 8.2 src/Services/Common.php \Drupal\filebrowser\Services\Common::getDownloadManagerOptions()

File

src/Services/Common.php, line 75

Class

Common
Class Common @package Drupal\filebrowser\Services

Namespace

Drupal\filebrowser\Services

Code

public function getDownloadManagerOptions() {
  return [
    'private' => [
      'title' => $this
        ->t('Private - Files are served by PHP/Drupal'),
    ],
    'public' => [
      'title' => $this
        ->t('Public - Files are served by the web server and should be accessible by it'),
    ],
  ];
}