Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

settings (migration step)

Changes one INI file of settings/override or settings/siteaccess/<name> through the INI editor, with a backup.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/migration-steps/settings.md

On this page

settings

Changes one INI file of settings/override or settings/siteaccess/<name> through the INI editor, with a backup.

A step of a YAML migration with type: settings. The class expMigrationStepSettings (kernel/classes/migration/steps/expmigrationstepsettings.php) is registered in settings/migration.ini [StepSettings] StepTypeList[settings].

Keys

KeyTypeDefaultWhat it is
filestringrequiredthe INI file: site.ini, content.ini ...
siteaccessstringthe siteaccess (settings/siteaccess/<name>); without: settings/override
setmapblock => variable => value (a list: the array; a map: hash keys)
addmapblock => variable => values added to the array
removemapblock => list of Var, Var[key] or Var[]=value

Besides these, every step takes the keys of the engine: type, mode, if, references, environments, engines and comment (the file format). A key of type identifier names a node, an object or another part of the installation by id, remote id, path or name (identifiers).

Values for references

references: { <name>: <value> } keeps a value of the step's result as ${ref.<name>} for the steps and migrations after it:

ValueWhat it is
filethe file written, relative to the installation
changedtrue when the file changed

Undoing

A step of this type does not undo itself: a migration with it needs down: or a rollback to its caption.

Caches it touches (cleared after the run): tag:ini.

Example

- type: settings
  file: site.ini
  siteaccess: admin
  set:
    SiteSettings:
      DefaultPage: content/dashboard

Generated by ./console exp:help:examples from settings/migration.ini, kernel/classes/migration/steps/expmigrationstepsettings.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x