public function WebformHandlerBase::isSubmissionRequired in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::isSubmissionRequired()
Returns the webform submission is required indicator.
Return value
bool TRUE if the webform handler requires the webform submission to be saved to the database.
Overrides WebformHandlerInterface::isSubmissionRequired
File
- src/
Plugin/ WebformHandlerBase.php, line 407
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function isSubmissionRequired() {
return $this->pluginDefinition['submission'] === WebformHandlerInterface::SUBMISSION_REQUIRED;
}