importConfig example


  protected function processConfiguration($collection$op$name) {
    try {
      $processed = FALSE;
      if ($collection == StorageInterface::DEFAULT_COLLECTION) {
        $processed = $this->importInvokeOwner($collection$op$name);
      }
      if (!$processed) {
        $this->importConfig($collection$op$name);
      }
    }
    catch (\Exception $e) {
      $this->logError($this->t('Unexpected error during import with operation @op for @name: @message', ['@op' => $op, '@name' => $name, '@message' => $e->getMessage()]));
      // Error for that operation was logged, mark it as processed so that       // the import can continue.       $this->setProcessedConfiguration($collection$op$name);
    }
  }

  /** * Processes an extension change. * * @param string $type * The type of extension, either 'module' or 'theme'. * @param string $op * The change operation. * @param string $name * The name of the extension to process. */
Home | Imprint | This part of the site doesn't use cookies.