UserFormsUpgradeService
class UserFormsUpgradeService (View source)
Service to support upgrade of userforms module
Properties
protected | bool | $quiet |
Methods
protected
upgradeFieldInStage(EditableFormField $field, stage $stage)
Migrate a versioned field in a single stage
protected
protected
migrateCustomSettings(EditableFormField $field, string $stage)
Migrate custom settings for the given field
protected
findOrCreateRule(EditableFormField $field, string $stage, string $conditionOption, string $display, string $conditionFieldName, string $value)
Create or find an existing field with the matched specification
Details
run()
No description
protected
upgradeField(EditableFormField $field)
Migrate a versioned field in all stages
protected
upgradeFieldInStage(EditableFormField $field, stage $stage)
Migrate a versioned field in a single stage
protected
migrateRules(EditableFormField $field, string $stage)
Migrate custom rules for the given field
protected
migrateCustomSettings(EditableFormField $field, string $stage)
Migrate custom settings for the given field
protected EditableCustomRule
findOrCreateRule(EditableFormField $field, string $stage, string $conditionOption, string $display, string $conditionFieldName, string $value)
Create or find an existing field with the matched specification
log($message)
No description
setQuiet(bool $quiet)
Set if this service should be quiet
getQuiet()
No description