public function ProtectedDirectory::isPrivate in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/File/ProtectedDirectory.php \Drupal\Core\File\ProtectedDirectory::isPrivate()
Is the directory private (or public).
Return value
bool TRUE if the directory is private, FALSE if it is public.
File
- core/
lib/ Drupal/ Core/ File/ ProtectedDirectory.php, line 73
Class
- ProtectedDirectory
- A value object representing a protected directory.
Namespace
Drupal\Core\FileCode
public function isPrivate() {
return $this->private;
}