You are here

protected function LockrAdminController::privateValid in Lockr 8.4

Same name and namespace in other branches
  1. 8.3 src/Controller/LockrAdminController.php \Drupal\lockr\Controller\LockrAdminController::privateValid()
  2. 4.x src/Controller/LockrAdminController.php \Drupal\lockr\Controller\LockrAdminController::privateValid()

Returns TRUE if the private stream is available.

2 calls to LockrAdminController::privateValid()
LockrAdminController::getStatus in src/Controller/LockrAdminController.php
Renders the Lockr status table.
LockrAdminController::overview in src/Controller/LockrAdminController.php
Renders the Lockr status page.

File

src/Controller/LockrAdminController.php, line 273

Class

LockrAdminController
Controller for the Lockr admin status and configuration page.

Namespace

Drupal\lockr\Controller

Code

protected function privateValid() {
  return $this->fileSystem
    ->validScheme('private');
}