You are here

public function WebformHandlerBase::isExcluded in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::isExcluded()

Checks if the handler is excluded via webform.settings.

Return value

bool TRUE if the handler is excluded.

Overrides WebformHandlerInterface::isExcluded

File

src/Plugin/WebformHandlerBase.php, line 371

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

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