You are here

public function Missing::ensure in Flysystem 7

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

File

src/Flysystem/Missing.php, line 35
Contains \Drupal\flysystem\Flysystem\Missing.

Class

Missing
Drupal plugin for the "MissingAdapter" Flysystem adapter.

Namespace

Drupal\flysystem\Flysystem

Code

public function ensure($force = FALSE) {
  return array(
    array(
      'severity' => WATCHDOG_ERROR,
      'message' => 'The Flysystem driver is missing.',
      'context' => array(),
    ),
  );
}