public function WebformHandlerBase::isSubmissionRequired in Webform 6.x
Same name and namespace in other branches
- 8.5 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 346
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function isSubmissionRequired() {
return $this->pluginDefinition['submission'] === WebformHandlerInterface::SUBMISSION_REQUIRED;
}