You are here

function Common::canExploreSubFolders in Filebrowser 8.2

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

Check if user can explore sub-folders.

Parameters

NodeInterface $node:

File

src/Services/Common.php, line 192

Class

Common
Class Common @package Drupal\filebrowser\Services

Namespace

Drupal\filebrowser\Services

Code

function canExploreSubFolders(NodeInterface $node) {
  return $node->filebrowser->exploreSubdirs;
}