private function SpecFetcher::isPrivateFileSystemConfigured in Apigee API Catalog 8
Same name and namespace in other branches
- 8.2 src/SpecFetcher.php \Drupal\apigee_api_catalog\SpecFetcher::isPrivateFileSystemConfigured()
Checks whether the private filesystem is configured.
Return value
bool True if configured, FALSE otherwise.
1 call to SpecFetcher::isPrivateFileSystemConfigured()
- SpecFetcher::checkRequirements in src/
SpecFetcher.php - Checks requirements for saving of a file spec.
File
- src/
SpecFetcher.php, line 239
Class
- SpecFetcher
- Class SpecFetcher.
Namespace
Drupal\apigee_api_catalogCode
private function isPrivateFileSystemConfigured() : bool {
return (bool) $this->fileSystem
->realpath('private://');
}