diff --git a/modules/harvest/src/Utility/FileHelperInterface.php b/modules/harvest/src/Utility/FileHelperInterface.php index bd5ae8d9b8..ab6b1be829 100644 --- a/modules/harvest/src/Utility/FileHelperInterface.php +++ b/modules/harvest/src/Utility/FileHelperInterface.php @@ -2,6 +2,8 @@ namespace Drupal\harvest\Utility; +use Drupal\Core\File\FileSystemInterface; + /** * Interface. */ @@ -28,7 +30,7 @@ public function filePutContents($path, $content); /** * Public. */ - public function prepareDir(&$directory, $options = FILE_CREATE_DIRECTORY); + public function prepareDir(&$directory, $options = FileSystemInterface::CREATE_DIRECTORY); /** * Public.