You are here

public function WebformExporterBase::isExcluded in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 145

Class

WebformExporterBase
Provides a base class for a results exporter.

Namespace

Drupal\webform\Plugin

Code

public function isExcluded() {
  return $this->configFactory
    ->get('webform.settings')
    ->get('export.excluded_exporters.' . $this->pluginDefinition['id']) ? TRUE : FALSE;
}