You are here

public function ConfigActionsService::autoExecute in Config Actions 8

Get or set the autoExecute property of the service. When autoExecute is TRUE, actions marked with the "auto: false" option are skipped. If FALSE, all actions can are executed.

Parameters

null|bool $value: If specified, set the value of the autoExecute property

Return value

bool returns the value of the autoExecute property

Overrides ConfigActionsServiceInterface::autoExecute

1 call to ConfigActionsService::autoExecute()
ConfigActionsService::importAction in src/ConfigActionsService.php
Process a specific action id from a given module

File

src/ConfigActionsService.php, line 398

Class

ConfigActionsService
Base class for config_actions plugins.

Namespace

Drupal\config_actions

Code

public function autoExecute($value = NULL) {
  if (isset($value)) {
    $this->auto = $value;
  }
  return $this->auto;
}