Skip to content

Commit

Permalink
cms@4d5f71c
Browse files Browse the repository at this point in the history
Merge branch 'release/4.6.0' into main
  • Loading branch information
shinybrad committed Jan 10, 2024
1 parent 81cabd8 commit 2ee9cef
Show file tree
Hide file tree
Showing 2 changed files with 212 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/.artifacts/cms/4.x/console-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,10 @@ Re-indexes assets across all volumes.
: Whether to delete all the asset records that have their files missing.


--delete-empty-folders
: Whether empty folders should be deleted.



<h3 id="index-assets-cleanup">
<a href="#index-assets-cleanup" class="header-anchor">#</a>
Expand Down Expand Up @@ -813,6 +817,10 @@ startAt
: Whether to delete all the asset records that have their files missing.


--delete-empty-folders
: Whether empty folders should be deleted.



## `install`

Expand Down Expand Up @@ -2399,6 +2407,30 @@ Creates a section.
<h4 id="sections-create-options" class="command-subheading">Options</h4>


--name
: The section name.


--handle
: The section handle.


--type
: The section type (single, channel, or structure).


--no-versioning
: Whether to disable versioning for the section.


--uri-format
: The entry URI format to set for each site.


--template
: The template to load when an entry’s URL is requested.


--from-category-group
: The category group handle to model the section from.

Expand Down
180 changes: 180 additions & 0 deletions docs/.artifacts/cms/4.x/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -28337,6 +28337,138 @@
"type": "yii\\base\\Event",
"desc": "an event raised at the end of `validate()`"
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_BEFORE_ELEMENT_SAVE",
"type": "craft\\events\\FieldElementEvent",
"desc": "The event that is triggered before the element is saved."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_AFTER_ELEMENT_SAVE",
"type": "craft\\events\\FieldElementEvent",
"desc": "The event that is triggered after the element is saved."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_AFTER_ELEMENT_PROPAGATE",
"type": "craft\\events\\FieldElementEvent",
"desc": "The event that is triggered after the element is fully saved and propagated to other sites."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_BEFORE_ELEMENT_DELETE",
"type": "craft\\events\\FieldElementEvent",
"desc": "The event that is triggered before the element is deleted."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_AFTER_ELEMENT_DELETE",
"type": "craft\\events\\FieldElementEvent",
"desc": "The event that is triggered after the element is deleted."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_BEFORE_ELEMENT_RESTORE",
"type": "craft\\events\\FieldElementEvent",
"desc": "The event that is triggered before the element is restored."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_AFTER_ELEMENT_RESTORE",
"type": "craft\\events\\FieldElementEvent",
"desc": "The event that is triggered after the element is restored."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_DEFINE_KEYWORDS",
"type": "craft\\events\\DefineFieldKeywordsEvent",
"desc": "The event that is triggered when defining the field’s search keywords for an element."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_DEFINE_INPUT_HTML",
"type": "craft\\events\\DefineFieldHtmlEvent",
"desc": "The event that is triggered when defining the field’s input HTML."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_BEFORE_SAVE",
"type": "craft\\events\\ModelEvent",
"desc": "The event that is triggered before the component is saved."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_AFTER_SAVE",
"type": "craft\\events\\ModelEvent",
"desc": "The event that is triggered after the component is saved."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_BEFORE_DELETE",
"type": "craft\\events\\ModelEvent",
"desc": "The event that is triggered before the component is deleted."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_BEFORE_APPLY_DELETE",
"type": "craft\\events\\ModelEvent",
"desc": "The event that is triggered before the delete is applied to the database."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_AFTER_DELETE",
"type": "yii\\base\\Event",
"desc": "The event that is triggered after the component is deleted."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_DEFINE_SETTINGS_ATTRIBUTES",
"type": "craft\\events\\DefineValueEvent",
"desc": "The event that is triggered when defining the component’s settings attributes, as returned by `settingsAttributes()`."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_INIT",
"type": "yii\\base\\Event",
"desc": "The event that is triggered after the model's init cycle"
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_DEFINE_BEHAVIORS",
"type": "craft\\events\\DefineBehaviorsEvent",
"desc": "The event that is triggered when defining the class behaviors"
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_DEFINE_RULES",
"type": "craft\\events\\DefineRulesEvent",
"desc": "The event that is triggered when defining the model rules"
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_DEFINE_FIELDS",
"type": "craft\\events\\DefineFieldsEvent",
"desc": "The event that is triggered when defining the arrayable fields"
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_DEFINE_EXTRA_FIELDS",
"type": "craft\\events\\DefineFieldsEvent",
"desc": "The event that is triggered when defining the extra arrayable fields"
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_BEFORE_VALIDATE",
"type": "yii\\base\\ModelEvent",
"desc": "an event raised at the beginning of `validate()`. You may set `ModelEvent::isValid` to be false to stop the validation."
},
{
"class": "craft\\fields\\Country",
"name": "EVENT_AFTER_VALIDATE",
"type": "yii\\base\\Event",
"desc": "an event raised at the end of `validate()`"
},
{
"class": "craft\\fields\\Date",
"name": "EVENT_BEFORE_ELEMENT_SAVE",
Expand Down Expand Up @@ -30623,6 +30755,48 @@
"type": "yii\\base\\Event",
"desc": "an event raised at the end of `validate()`"
},
{
"class": "craft\\fields\\conditions\\CountryFieldConditionRule",
"name": "EVENT_INIT",
"type": "yii\\base\\Event",
"desc": "The event that is triggered after the model's init cycle"
},
{
"class": "craft\\fields\\conditions\\CountryFieldConditionRule",
"name": "EVENT_DEFINE_BEHAVIORS",
"type": "craft\\events\\DefineBehaviorsEvent",
"desc": "The event that is triggered when defining the class behaviors"
},
{
"class": "craft\\fields\\conditions\\CountryFieldConditionRule",
"name": "EVENT_DEFINE_RULES",
"type": "craft\\events\\DefineRulesEvent",
"desc": "The event that is triggered when defining the model rules"
},
{
"class": "craft\\fields\\conditions\\CountryFieldConditionRule",
"name": "EVENT_DEFINE_FIELDS",
"type": "craft\\events\\DefineFieldsEvent",
"desc": "The event that is triggered when defining the arrayable fields"
},
{
"class": "craft\\fields\\conditions\\CountryFieldConditionRule",
"name": "EVENT_DEFINE_EXTRA_FIELDS",
"type": "craft\\events\\DefineFieldsEvent",
"desc": "The event that is triggered when defining the extra arrayable fields"
},
{
"class": "craft\\fields\\conditions\\CountryFieldConditionRule",
"name": "EVENT_BEFORE_VALIDATE",
"type": "yii\\base\\ModelEvent",
"desc": "an event raised at the beginning of `validate()`. You may set `ModelEvent::isValid` to be false to stop the validation."
},
{
"class": "craft\\fields\\conditions\\CountryFieldConditionRule",
"name": "EVENT_AFTER_VALIDATE",
"type": "yii\\base\\Event",
"desc": "an event raised at the end of `validate()`"
},
{
"class": "craft\\fields\\conditions\\DateFieldConditionRule",
"name": "EVENT_INIT",
Expand Down Expand Up @@ -37306,6 +37480,12 @@
}
}
},
{
"class": "craft\\services\\Elements",
"name": "EVENT_SET_ELEMENT_URI",
"type": "craft\\events\\ElementEvent",
"desc": "The event that is triggered when setting a unique URI on an element."
},
{
"class": "craft\\services\\Elements",
"name": "EVENT_BEFORE_UPDATE_SEARCH_INDEX",
Expand Down

0 comments on commit 2ee9cef

Please sign in to comment.