function ProtectedDirectory::isPrivate
Same name in other branches
- 9 core/lib/Drupal/Core/File/ProtectedDirectory.php \Drupal\Core\File\ProtectedDirectory::isPrivate()
- 8.9.x core/lib/Drupal/Core/File/ProtectedDirectory.php \Drupal\Core\File\ProtectedDirectory::isPrivate()
- 10 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.