You are here

public function WebformHandlerBase::isExcluded in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 310

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;
}