You are here

function flysystem_cron in Flysystem 8

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

Implements hook_cron().

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

File

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

Code

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