Craft Themes (3.x)

ProjectConfigHelper
in package

Helper to ensure some project config changes are applied before others

Table of Contents

$_processedBlocks  : mixed
$_processedDisplays  : mixed
$_processedFields  : mixed
$_processedGroups  : mixed
$_processedLayouts  : mixed
$_processedViewModes  : mixed
ensureAllBlocksProcessed()  : mixed
Ensure all blocks config changes are processed immediately.
ensureAllDisplaysProcessed()  : mixed
Ensure all displays config changes are processed immediately.
ensureAllFieldsProcessed()  : mixed
Ensure all fields config changes are processed immediately.
ensureAllGroupsProcessed()  : mixed
Ensure all groups config changes are processed immediately.
ensureAllLayoutsProcessed()  : mixed
Ensure all layouts config changes are processed immediately.
ensureAllViewModesProcessed()  : mixed
Ensure all view modes config changes are processed immediately.
ensureFieldsProcessed()  : mixed
Ensure some fields config changes are processed immediately.

Properties

Methods

ensureAllBlocksProcessed()

Ensure all blocks config changes are processed immediately.

public static ensureAllBlocksProcessed([bool $force = false ]) : mixed
Parameters
$force : bool = false

Whether to proceed even if YAML changes are not currently being applied

Return values
mixed

ensureAllDisplaysProcessed()

Ensure all displays config changes are processed immediately.

public static ensureAllDisplaysProcessed([bool $force = false ]) : mixed
Parameters
$force : bool = false

Whether to proceed even if YAML changes are not currently being applied

Return values
mixed

ensureAllFieldsProcessed()

Ensure all fields config changes are processed immediately.

public static ensureAllFieldsProcessed([bool $force = false ]) : mixed
Parameters
$force : bool = false

Whether to proceed even if YAML changes are not currently being applied

Return values
mixed

ensureAllGroupsProcessed()

Ensure all groups config changes are processed immediately.

public static ensureAllGroupsProcessed([bool $force = false ]) : mixed
Parameters
$force : bool = false

Whether to proceed even if YAML changes are not currently being applied

Return values
mixed

ensureAllLayoutsProcessed()

Ensure all layouts config changes are processed immediately.

public static ensureAllLayoutsProcessed([bool $force = false ]) : mixed
Parameters
$force : bool = false

Whether to proceed even if YAML changes are not currently being applied

Return values
mixed

ensureAllViewModesProcessed()

Ensure all view modes config changes are processed immediately.

public static ensureAllViewModesProcessed([bool $force = false ]) : mixed
Parameters
$force : bool = false

Whether to proceed even if YAML changes are not currently being applied

Return values
mixed

ensureFieldsProcessed()

Ensure some fields config changes are processed immediately.

public static ensureFieldsProcessed(array<string|int, mixed> $fieldUids[, bool $force = false ]) : mixed
Parameters
$fieldUids : array<string|int, mixed>
$force : bool = false

Whether to proceed even if YAML changes are not currently being applied

Return values
mixed

Search results