addChangeList example


  protected function addChangelistDelete($collection) {
    $deletes = array_diff(array_reverse($this->targetNames[$collection])$this->sourceNames[$collection]);
    $this->addChangeList($collection, 'delete', $deletes);
  }

  /** * Creates the create changelist. * * The list of creates is sorted so that dependencies are created before * configuration entities that depend on them. For example, field storages * should be created before fields. * * @param string $collection * The storage collection to operate on. */
Home | Imprint | This part of the site doesn't use cookies.