You are here

function flysystem_rebuild in Flysystem 8

Same name and namespace in other branches
  1. 3.x flysystem.module \flysystem_rebuild()
  2. 2.0.x flysystem.module \flysystem_rebuild()
  3. 3.0.x flysystem.module \flysystem_rebuild()

Implements hook_rebuild().

1 call to flysystem_rebuild()
ModuleFunctionsTest::testFlysystemRebuildCallsEnsure in tests/src/Unit/ModuleFunctionsTest.php
Tests flysystem_rebuild() calls ensure.

File

./flysystem.module, line 18
Provides access to various filesystem backends using Flysystem.

Code

function flysystem_rebuild() {
  Drupal::service('flysystem_factory')
    ->ensure();
}