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