From 0775417487216ec4844d2905fb77c4843a70bd47 Mon Sep 17 00:00:00 2001 From: shinybrad Date: Tue, 21 Jan 2025 17:09:03 +0000 Subject: [PATCH] cms@279b800 Finish 4.14.0 --- docs/.artifacts/cms/4.x/console-commands.md | 42 +++++++++++++++++++++ docs/.artifacts/cms/4.x/events.json | 18 +++++++++ 2 files changed, 60 insertions(+) diff --git a/docs/.artifacts/cms/4.x/console-commands.md b/docs/.artifacts/cms/4.x/console-commands.md index 4a24c46bb..d41be246f 100644 --- a/docs/.artifacts/cms/4.x/console-commands.md +++ b/docs/.artifacts/cms/4.x/console-commands.md @@ -304,6 +304,29 @@ id +

+ # + elements/delete-all-of-type +

+ + +Deletes all elements of a given type. + +

Parameters

+ +type +: The element type to delete. + + + +

Options

+ + +--dry-run +: Whether to only do a dry run of the prune elements of type process. + + +

# elements/restore @@ -3299,6 +3322,25 @@ user Converts all non-ASCII asset filenames to ASCII. +## `utils/delete-empty-volume-folders` + + +

+ # + utils/delete-empty-volume-folders +

+ + +Deletes empty volume folders. + +

Options

+ + +--volume +: The volume handle(s) to delete folders from. Can be set to multiple comma-separated volumes. + + + ## `utils/fix-element-uids` diff --git a/docs/.artifacts/cms/4.x/events.json b/docs/.artifacts/cms/4.x/events.json index fe153d22d..0147d88f5 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\\DeleteEmptyVolumeFoldersController", + "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\\DeleteEmptyVolumeFoldersController", + "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\\DeleteEmptyVolumeFoldersController", + "name": "EVENT_AFTER_ACTION", + "type": "yii\\base\\ActionEvent", + "desc": "an event raised right after executing a controller action." + }, { "class": "craft\\console\\controllers\\utils\\FixElementUidsController", "name": "EVENT_DEFINE_ACTIONS",