You are here

function flysystem_install in Flysystem 2.0.x

Same name and namespace in other branches
  1. 8 flysystem.install \flysystem_install()
  2. 3.x flysystem.install \flysystem_install()
  3. 3.0.x flysystem.install \flysystem_install()

Implements hook_install().

1 call to flysystem_install()
InstallFunctionsTest::testFlysystemInstallCallsEnsure in tests/src/Unit/InstallFunctionsTest.php
Tests flysystem_install() calls ensure().

File

./flysystem.install, line 30
Install, update and uninstall functions for the flysystem module.

Code

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