WorkspacePostPublishEvent example


      });
    }
    catch (\Exception $e) {
      if (isset($transaction)) {
        $transaction->rollBack();
      }
      Error::logException($this->logger, $e);
      throw $e;
    }

    $event = new WorkspacePostPublishEvent($this->sourceWorkspace, $tracked_entities);
    $this->eventDispatcher->dispatch($event);
  }

  /** * {@inheritdoc} */
  public function getSourceLabel() {
    return $this->sourceWorkspace->label();
  }

  /** * {@inheritdoc} */
Home | Imprint | This part of the site doesn't use cookies.