public function DrupalCacheAdapter::setVisibility in Flysystem 8
Same name and namespace in other branches
- 3.x src/Flysystem/Adapter/DrupalCacheAdapter.php \Drupal\flysystem\Flysystem\Adapter\DrupalCacheAdapter::setVisibility()
- 2.0.x src/Flysystem/Adapter/DrupalCacheAdapter.php \Drupal\flysystem\Flysystem\Adapter\DrupalCacheAdapter::setVisibility()
- 3.0.x src/Flysystem/Adapter/DrupalCacheAdapter.php \Drupal\flysystem\Flysystem\Adapter\DrupalCacheAdapter::setVisibility()
File
- src/
Flysystem/ Adapter/ DrupalCacheAdapter.php, line 166
Class
- DrupalCacheAdapter
- A Flysystem adapter implementing caching with Drupal's Cache API.
Namespace
Drupal\flysystem\Flysystem\AdapterCode
public function setVisibility($path, $visibility) {
$metadata = $this->adapter
->setVisibility($path, $visibility);
return $this
->updateMetadata($path, $metadata);
}