initializeWorkspace example

throw $e;
    }
  }

  /** * {@inheritdoc} */
  public function workspaceInsert(WorkspaceInterface $workspace) {
    // When a new workspace has been saved, we need to copy all the associations     // of its parent.     if ($workspace->hasParent()) {
      $this->initializeWorkspace($workspace);
    }
  }

  /** * {@inheritdoc} */
  public function getTrackedEntities($workspace_id$entity_type_id = NULL, $entity_ids = NULL) {
    $query = $this->database->select(static::TABLE);
    $query
      ->fields(static::TABLE, ['target_entity_type_id', 'target_entity_id', 'target_entity_revision_id'])
      ->orderBy('target_entity_revision_id', 'ASC')
      
Home | Imprint | This part of the site doesn't use cookies.