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