diff --git a/docs/.artifacts/cms/4.x/console-commands.md b/docs/.artifacts/cms/4.x/console-commands.md index 9962d1039..40076dc13 100644 --- a/docs/.artifacts/cms/4.x/console-commands.md +++ b/docs/.artifacts/cms/4.x/console-commands.md @@ -3011,6 +3011,17 @@ Ensures all elements UIDs are unique. Fixes any duplicate UUIDs found within field layout components in the project config. +## `utils/prune-orphaned-matrix-blocks` + + +<h3 id="utils-prune-orphaned-matrix-blocks-index"> + <a href="#utils-prune-orphaned-matrix-blocks-index" class="header-anchor">#</a> + <code>utils/prune-orphaned-matrix-blocks</code> +</h3> + + +Prunes orphaned matrix blocks for each site. + ## `utils/prune-provisional-drafts` diff --git a/docs/.artifacts/cms/4.x/events.json b/docs/.artifacts/cms/4.x/events.json index 7afaf3f70..6a40a9b3e 100644 --- a/docs/.artifacts/cms/4.x/events.json +++ b/docs/.artifacts/cms/4.x/events.json @@ -4030,6 +4030,24 @@ "type": "yii\\base\\ActionEvent", "desc": "an event raised right after executing a controller action." }, + { + "class": "craft\\console\\controllers\\utils\\PruneOrphanedMatrixBlocksController", + "name": "EVENT_DEFINE_ACTIONS", + "type": "craft\\events\\DefineConsoleActionsEvent", + "desc": "The event that is triggered when defining custom actions for this controller." + }, + { + "class": "craft\\console\\controllers\\utils\\PruneOrphanedMatrixBlocksController", + "name": "EVENT_BEFORE_ACTION", + "type": "yii\\base\\ActionEvent", + "desc": "an event raised right before executing a controller action. You may set `ActionEvent::isValid` to be false to cancel the action execution." + }, + { + "class": "craft\\console\\controllers\\utils\\PruneOrphanedMatrixBlocksController", + "name": "EVENT_AFTER_ACTION", + "type": "yii\\base\\ActionEvent", + "desc": "an event raised right after executing a controller action." + }, { "class": "craft\\console\\controllers\\utils\\PruneProvisionalDraftsController", "name": "EVENT_DEFINE_ACTIONS",