You are here

public static function WebformSubmissionDevelGenerateTrait::isGeneratingSubmissions in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/DevelGenerate/WebformSubmissionDevelGenerateTrait.php \Drupal\webform\Plugin\DevelGenerate\WebformSubmissionDevelGenerateTrait::isGeneratingSubmissions()

Track if webform submissions are being generated.

Used to block emails from being sent while using devel generate.

Return value

bool TRUE if webform submissions are being generated.

File

src/Plugin/DevelGenerate/WebformSubmissionDevelGenerateTrait.php, line 455

Class

WebformSubmissionDevelGenerateTrait
Provides a WebformSubmissionDevelGenerate trait.

Namespace

Drupal\webform\Plugin\DevelGenerate

Code

public static function isGeneratingSubmissions() {
  return static::$generatingSubmissions;
}