ProjectConfig

Type
Class
Namespace
craft\helpers
Inherits
craft\helpers\ProjectConfig
Since
3.1

Class ProjectConfig

View source

Public Methods

MethodDescription
cleanupConfig()Traverse and clean a config array, removing empty values and sorting keys.
ensureAllFieldsProcessed()Ensures all field config changes are processed immediately in a safe manner.
ensureAllSitesProcessed()Ensure all site config changes are processed immediately in a safe manner.
ensureAllUserGroupsProcessed()Ensure all user group config changes are processed immediately in a safe manner.

cleanupConfig()

Traverse and clean a config array, removing empty values and sorting keys.

View source

Arguments

  • $config (array) – Config array to clean

Returns

array

Throws

ensureAllFieldsProcessed()

Ensures all field config changes are processed immediately in a safe manner.

View source

ensureAllSitesProcessed()

Ensure all site config changes are processed immediately in a safe manner.

View source

ensureAllUserGroupsProcessed()

Ensure all user group config changes are processed immediately in a safe manner.

View source