You are here

protected function Exception::doExecute in GA Push 8

Executes the action with the given context.

File

src/Plugin/RulesAction/Exception.php, line 35

Class

Exception
Provides a 'Ga Push Exception' action.

Namespace

Drupal\ga_push\Plugin\RulesAction

Code

protected function doExecute() {
  ga_push_add_exception([
    'exDescription' => $this
      ->getContextValue('exDescription'),
    'exFatal' => $this
      ->getContextValue('exFatal'),
  ], $this
    ->getMethod());
}