protected function EmailContext::getSpoolDir in Open Social 8.7
Same name and namespace in other branches
- 8.9 tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 8.3 tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 8.4 tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 8.5 tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 8.6 tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 8.8 tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 10.3.x tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 10.0.x tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 10.1.x tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
- 10.2.x tests/behat/features/bootstrap/EmailContext.php \Drupal\social\Behat\EmailContext::getSpoolDir()
Get the path where the spooled emails are stored.
Return value
string The path where the spooled emails are stored.
2 calls to EmailContext::getSpoolDir()
- EmailContext::enableEmailSpool in tests/
behat/ features/ bootstrap/ EmailContext.php - We need to enable the spool directory.
- EmailContext::getSpooledEmails in tests/
behat/ features/ bootstrap/ EmailContext.php - Get a list of spooled emails.
File
- tests/
behat/ features/ bootstrap/ EmailContext.php, line 88
Class
Namespace
Drupal\social\BehatCode
protected function getSpoolDir() {
$path = '/var/www/html/profiles/contrib/social/tests/behat/features/swiftmailer-spool';
if (!file_exists($path)) {
mkdir($path, 0777, true);
}
return $path;
}