public static function YamlFormSubmissionDevelGenerate::isGeneratingSubmissions in YAML Form 8
Track if form submissions are being generated.
Used to block emails from being sent while using devel generate.
Return value
bool TRUE if form submissions are being generated.
1 call to YamlFormSubmissionDevelGenerate::isGeneratingSubmissions()
- yamlform_mail in ./
yamlform.module - Implements hook_mail().
File
- src/
Plugin/ DevelGenerate/ YamlFormSubmissionDevelGenerate.php, line 342
Class
- YamlFormSubmissionDevelGenerate
- Provides a YamlFormSubmissionDevelGenerate plugin.
Namespace
Drupal\yamlform\Plugin\DevelGenerateCode
public static function isGeneratingSubmissions() {
return self::$generatingSubmissions;
}