You are here

public function MaestroWebformHandler::isExcluded in Maestro 3.x

Checks if the handler is excluded via webform.settings.

Return value

bool TRUE if the handler is excluded.

Overrides WebformHandlerBase::isExcluded

File

modules/maestro_webform/src/Plugin/WebformHandler/MaestroWebformHandler.php, line 245

Class

MaestroWebformHandler
Launches a Maestro workflow with a Webform submission.

Namespace

Drupal\maestro_webform\Plugin\WebformHandler

Code

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