public function WebformExporterBase::isExcluded in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformExporterBase.php \Drupal\webform\Plugin\WebformExporterBase::isExcluded()
Checks if the exporter is excluded via webform.settings.
Return value
bool TRUE if the exporter is excluded.
Overrides WebformExporterInterface::isExcluded
File
- src/
Plugin/ WebformExporterBase.php, line 99
Class
- WebformExporterBase
- Provides a base class for a results exporter.
Namespace
Drupal\webform\PluginCode
public function isExcluded() {
return $this->configFactory
->get('webform.settings')
->get('export.excluded_exporters.' . $this->pluginDefinition['id']) ? TRUE : FALSE;
}