You are here

public function WebformCommandsBase::drush_move_dir in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Commands/WebformCommandsBase.php \Drupal\webform\Commands\WebformCommandsBase::drush_move_dir()

File

src/Commands/WebformCommandsBase.php, line 103

Class

WebformCommandsBase
Base class for Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

public function drush_move_dir($src, $dest) {
  $fs = new Filesystem();
  $fs
    ->rename($src, $dest, TRUE);
  return TRUE;
}