You are here

protected function ExportUser::getBaseOutputDirectory in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php \Drupal\social_user_export\Plugin\Action\ExportUser::getBaseOutputDirectory()
  2. 8.7 modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php \Drupal\social_user_export\Plugin\Action\ExportUser::getBaseOutputDirectory()
  3. 8.8 modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php \Drupal\social_user_export\Plugin\Action\ExportUser::getBaseOutputDirectory()
  4. 10.3.x modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php \Drupal\social_user_export\Plugin\Action\ExportUser::getBaseOutputDirectory()
  5. 10.0.x modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php \Drupal\social_user_export\Plugin\Action\ExportUser::getBaseOutputDirectory()
  6. 10.1.x modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php \Drupal\social_user_export\Plugin\Action\ExportUser::getBaseOutputDirectory()
  7. 10.2.x modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php \Drupal\social_user_export\Plugin\Action\ExportUser::getBaseOutputDirectory()

Returns the directory that forms the base for this exports file output.

This method wraps file_directory_temp() to give inheriting classes the ability to use a different file system than the temporary file system. This was previously possible but was changed in #3075818.

Return value

string The path to the Drupal directory that should be used for this export.

1 call to ExportUser::getBaseOutputDirectory()
ExportUser::executeMultiple in modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php

File

modules/social_features/social_user_export/src/Plugin/Action/ExportUser.php, line 190

Class

ExportUser
Exports a user accounts to CSV.

Namespace

Drupal\social_user_export\Plugin\Action

Code

protected function getBaseOutputDirectory() : string {
  return file_directory_temp();
}