ConfigCrudEvent example



    // Potentially configuration schema could have changed the underlying data's     // types.     $this->resetOverriddenData();

    $this->storage->write($this->name, $this->data);
    if (!$this->isNew) {
      Cache::invalidateTags($this->getCacheTags());
    }
    $this->isNew = FALSE;
    $this->eventDispatcher->dispatch(new ConfigCrudEvent($this), ConfigEvents::SAVE);
    $this->originalData = $this->data;
    return $this;
  }

  /** * Deletes the configuration object. * * @return $this * The configuration object. */
  public function delete() {
    
Home | Imprint | This part of the site doesn't use cookies.