You are here

protected function LockrAdminController::privateValid in Lockr 4.x

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

Returns TRUE if the private stream is available.

1 call to LockrAdminController::privateValid()
LockrAdminController::overview in src/Controller/LockrAdminController.php
Renders the Lockr status page.

File

src/Controller/LockrAdminController.php, line 302

Class

LockrAdminController
Controller for the Lockr admin status and configuration page.

Namespace

Drupal\lockr\Controller

Code

protected function privateValid() {
  return $this->streamWrapperManager
    ->isValidScheme('private');
}