doThirdPartySettingsUpdate example

$this->container->get('theme_installer')->install(['olivero']);
    $config_storage = $this->container->get('config.storage');
    // Ensure the 'system.site' config.     $config_storage->write('system.site', ['uuid' => (new Php())->generate()]);
    $this->copyConfig($config_storage$this->container->get('config.storage.sync'));

    $this->doActionUpdate();
    $this->doBlockUpdate();
    $this->doFilterFormatUpdate();
    $this->doImageStyleUpdate();
    $this->doSearchPageUpdate();
    $this->doThirdPartySettingsUpdate();
  }

  /** * Tests updating an action during import. */
  protected function doActionUpdate() {
    // Create a test action with a known label.     $name = 'system.action.apple';
    $entity = Action::create([
      'id' => 'apple',
      'plugin' => 'action_message_action',
    ]);
Home | Imprint | This part of the site doesn't use cookies.