You are here

public function FlysystemPluginInterface::ensure in Flysystem 8

Same name and namespace in other branches
  1. 3.x src/Plugin/FlysystemPluginInterface.php \Drupal\flysystem\Plugin\FlysystemPluginInterface::ensure()
  2. 2.0.x src/Plugin/FlysystemPluginInterface.php \Drupal\flysystem\Plugin\FlysystemPluginInterface::ensure()
  3. 3.0.x src/Plugin/FlysystemPluginInterface.php \Drupal\flysystem\Plugin\FlysystemPluginInterface::ensure()

Checks the sanity of the filesystem.

If this is a local filesystem, .htaccess file should be in place.

Return value

array A list of error messages.

3 methods override FlysystemPluginInterface::ensure()
Ftp::ensure in src/Flysystem/Ftp.php
Checks the sanity of the filesystem.
Local::ensure in src/Flysystem/Local.php
Checks the sanity of the filesystem.
Missing::ensure in src/Flysystem/Missing.php
Checks the sanity of the filesystem.

File

src/Plugin/FlysystemPluginInterface.php, line 43

Class

FlysystemPluginInterface

Namespace

Drupal\flysystem\Plugin

Code

public function ensure($force = FALSE);