From f49e8d141198b1612a0fda812730fffc9fac4aa7 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Mon, 25 Nov 2024 15:59:31 +0100 Subject: [PATCH 01/15] Add docu for new update event --- .../plugins/plugin-events/installer.md | 63 +++++++++++++++++++ migrations/52-53/new-features.md | 13 ++++ 2 files changed, 76 insertions(+) create mode 100644 docs/building-extensions/plugins/plugin-events/installer.md diff --git a/docs/building-extensions/plugins/plugin-events/installer.md b/docs/building-extensions/plugins/plugin-events/installer.md new file mode 100644 index 00000000..834f2106 --- /dev/null +++ b/docs/building-extensions/plugins/plugin-events/installer.md @@ -0,0 +1,63 @@ +--- +sidebar_position: 1 +title: Installer Events +toc_max_heading_level: 2 +--- + +Installer Events +============== + +Installer plugin events are triggered when some routines are performed during the install process of extensions or when their update sites are downloaded. + +## onInstallerBeforePackageDownload + +### Description + +This event will be executed before a package of an extension is downloaded. It allows to modify the url or headers for the request. + +### Event Arguments + +The event class \Joomla\CMS\Event\Installer\BeforePackageDownloadEvent has the following arguments: + +- **`url`** - The url of the package. + +- **`headers`** - The headers which are sent with the request. + +### Return Value + +None. + +### Examples + +```php +public function onInstallerBeforePackageDownload(\Joomla\CMS\Event\Installer\BeforePackageDownloadEvent $event): void +{ + $event->updateUrl($event->getUrl() . '?auth=foo'); +} + +## onInstallerBeforeUpdateSiteDownload + +### Description + +This event will be executed before an update site is downloaded. It allows to modify the url or headers for the request. + +### Event Arguments + +The event class \Joomla\CMS\Event\Installer\BeforeUpdateSiteDownloadEvent has the following arguments: + +- **`url`** - The url of the update site. + +- **`headers`** - The headers which are sent with the request. + +### Return Value + +None. + +### Examples + +```php +public function onInstallerBeforeUpdateSiteDownload(\Joomla\CMS\Event\Installer\BeforeUpdateSiteDownloadEvent $event): void +{ + $event->updateUrl($event->getUrl() . '?auth=foo'); +} +``` diff --git a/migrations/52-53/new-features.md b/migrations/52-53/new-features.md index d2496c72..7780c6ef 100644 --- a/migrations/52-53/new-features.md +++ b/migrations/52-53/new-features.md @@ -51,3 +51,16 @@ $this->form // Code in the form layout echo $this->form->renderControlFields(); ``` + +#### New before download update site event +A new event is available where an installer plugin can hook in before an update site url is fetched. Similar to what we have for package download of an extension. + +PR: https://github.com/joomla/joomla-cms/pull/44516 + +The event can be used like: +```php +public function onInstallerBeforeUpdateSiteDownload(\Joomla\CMS\Event\Installer\BeforeUpdateSiteDownloadEvent $event): void +{ + $event->updateUrl($event->getUrl() . '?auth=foo'); +} +``` From 780326b478b448a78c749b8243966f2d48e6f59f Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Wed, 27 Nov 2024 07:44:29 +0100 Subject: [PATCH 02/15] Update docs/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Robbie Jackson --- docs/building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building-extensions/plugins/plugin-events/installer.md b/docs/building-extensions/plugins/plugin-events/installer.md index 834f2106..174369c7 100644 --- a/docs/building-extensions/plugins/plugin-events/installer.md +++ b/docs/building-extensions/plugins/plugin-events/installer.md @@ -13,7 +13,8 @@ Installer plugin events are triggered when some routines are performed during th ### Description -This event will be executed before a package of an extension is downloaded. It allows to modify the url or headers for the request. +This event will be executed before a package of an extension is downloaded. It allows plugins to modify the url or headers for the request. + ### Event Arguments From d57b584f0081aa2e9ac4f1ea751e586d39bf1cee Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Wed, 27 Nov 2024 07:46:58 +0100 Subject: [PATCH 03/15] index --- docs/building-extensions/plugins/plugin-events/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/building-extensions/plugins/plugin-events/index.md b/docs/building-extensions/plugins/plugin-events/index.md index c784d1f2..45e3b938 100644 --- a/docs/building-extensions/plugins/plugin-events/index.md +++ b/docs/building-extensions/plugins/plugin-events/index.md @@ -29,3 +29,5 @@ The event Group refers to the group of plugins which Joomla ensures are imported | [onContentBeforeChangeState](./content.md#oncontentbeforechangestate) | In Model, before a set of records changes state | Content | 4.0 | | [onContentChangeState](./content.md#oncontentchangestate) | In Model, after a set of records changes state | Content | before 4.0 | | [onCategoryChangeState](./content.md#oncategorychangestate) | In Model, before a set of category records changes state | Content | before 4.0 | +| [onInstallerBeforePackageDownload](./installer.md#onInstallerBeforePackageDownload) | In Installer, before a package is downloaded | Installer | before 4.0 | +| [onInstallerBeforeUpdateSiteDownload](./installer.md#onInstallerBeforeUpdateSiteDownload) | In Installer, before an update site is downloaded | Installer | 5.3 | From 90cf229ed72c709d63332aa46b24242b9c561235 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Wed, 27 Nov 2024 14:10:19 +0100 Subject: [PATCH 04/15] more details --- docs/building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building-extensions/plugins/plugin-events/installer.md b/docs/building-extensions/plugins/plugin-events/installer.md index 174369c7..fdfff81e 100644 --- a/docs/building-extensions/plugins/plugin-events/installer.md +++ b/docs/building-extensions/plugins/plugin-events/installer.md @@ -13,7 +13,7 @@ Installer plugin events are triggered when some routines are performed during th ### Description -This event will be executed before a package of an extension is downloaded. It allows plugins to modify the url or headers for the request. +This event will be executed before an installable package (zip file) of an extension (package, component, module, plugin, template, library) is downloaded. It allows plugins to modify the url or headers for the request. ### Event Arguments @@ -35,6 +35,7 @@ public function onInstallerBeforePackageDownload(\Joomla\CMS\Event\Installer\Bef { $event->updateUrl($event->getUrl() . '?auth=foo'); } +``` ## onInstallerBeforeUpdateSiteDownload From 0feca8553b0444c73e55a73e8caac9568d2416a7 Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Wed, 27 Nov 2024 16:54:42 +0100 Subject: [PATCH 05/15] Update docs/building-extensions/plugins/plugin-events/index.md Co-authored-by: Robbie Jackson --- docs/building-extensions/plugins/plugin-events/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building-extensions/plugins/plugin-events/index.md b/docs/building-extensions/plugins/plugin-events/index.md index 45e3b938..b96bd497 100644 --- a/docs/building-extensions/plugins/plugin-events/index.md +++ b/docs/building-extensions/plugins/plugin-events/index.md @@ -30,4 +30,5 @@ The event Group refers to the group of plugins which Joomla ensures are imported | [onContentChangeState](./content.md#oncontentchangestate) | In Model, after a set of records changes state | Content | before 4.0 | | [onCategoryChangeState](./content.md#oncategorychangestate) | In Model, before a set of category records changes state | Content | before 4.0 | | [onInstallerBeforePackageDownload](./installer.md#onInstallerBeforePackageDownload) | In Installer, before a package is downloaded | Installer | before 4.0 | -| [onInstallerBeforeUpdateSiteDownload](./installer.md#onInstallerBeforeUpdateSiteDownload) | In Installer, before an update site is downloaded | Installer | 5.3 | +| [onInstallerBeforeUpdateSiteDownload](./installer.md#oninstallerbeforeupdatesitedownload) | In Installer, before an update site is downloaded | Installer | 5.3 | + From 77b7f76cae29a51f6ba7143edd4f311457a9c71d Mon Sep 17 00:00:00 2001 From: Allon Moritz Date: Wed, 27 Nov 2024 16:54:54 +0100 Subject: [PATCH 06/15] Update docs/building-extensions/plugins/plugin-events/index.md Co-authored-by: Robbie Jackson --- docs/building-extensions/plugins/plugin-events/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building-extensions/plugins/plugin-events/index.md b/docs/building-extensions/plugins/plugin-events/index.md index b96bd497..56866b7e 100644 --- a/docs/building-extensions/plugins/plugin-events/index.md +++ b/docs/building-extensions/plugins/plugin-events/index.md @@ -29,6 +29,7 @@ The event Group refers to the group of plugins which Joomla ensures are imported | [onContentBeforeChangeState](./content.md#oncontentbeforechangestate) | In Model, before a set of records changes state | Content | 4.0 | | [onContentChangeState](./content.md#oncontentchangestate) | In Model, after a set of records changes state | Content | before 4.0 | | [onCategoryChangeState](./content.md#oncategorychangestate) | In Model, before a set of category records changes state | Content | before 4.0 | -| [onInstallerBeforePackageDownload](./installer.md#onInstallerBeforePackageDownload) | In Installer, before a package is downloaded | Installer | before 4.0 | +| [onInstallerBeforePackageDownload](./installer.md#oninstallerbeforepackagedownload) | In Installer, before a package is downloaded | Installer | before 4.0 | + | [onInstallerBeforeUpdateSiteDownload](./installer.md#oninstallerbeforeupdatesitedownload) | In Installer, before an update site is downloaded | Installer | 5.3 | From 5194231c24b18fdecdb91ac11978c6ae9ddfb85c Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Tue, 17 Dec 2024 20:52:04 +0000 Subject: [PATCH 07/15] relevant changes copied to versioned docs --- .../plugins/plugin-events/index.md | 1 - .../plugins/plugin-events/index.md | 1 + .../plugins/plugin-events/installer.md | 39 +++++++++++++++++++ .../plugins/plugin-events/index.md | 1 + .../plugins/plugin-events/installer.md | 39 +++++++++++++++++++ 5 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md create mode 100644 versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md diff --git a/docs/building-extensions/plugins/plugin-events/index.md b/docs/building-extensions/plugins/plugin-events/index.md index 56866b7e..19f3ddec 100644 --- a/docs/building-extensions/plugins/plugin-events/index.md +++ b/docs/building-extensions/plugins/plugin-events/index.md @@ -30,6 +30,5 @@ The event Group refers to the group of plugins which Joomla ensures are imported | [onContentChangeState](./content.md#oncontentchangestate) | In Model, after a set of records changes state | Content | before 4.0 | | [onCategoryChangeState](./content.md#oncategorychangestate) | In Model, before a set of category records changes state | Content | before 4.0 | | [onInstallerBeforePackageDownload](./installer.md#oninstallerbeforepackagedownload) | In Installer, before a package is downloaded | Installer | before 4.0 | - | [onInstallerBeforeUpdateSiteDownload](./installer.md#oninstallerbeforeupdatesitedownload) | In Installer, before an update site is downloaded | Installer | 5.3 | diff --git a/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/index.md b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/index.md index c9ff18e6..a17e7d7d 100644 --- a/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/index.md +++ b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/index.md @@ -29,3 +29,4 @@ The event Group refers to the group of plugins which Joomla ensures are imported | [onContentBeforeChangeState](./content.md#oncontentbeforechangestate) | In Model, before a set of records changes state | Content | 4.0 | | [onContentChangeState](./content.md#oncontentchangestate) | In Model, after a set of records changes state | Content | before 4.0 | | [onCategoryChangeState](./content.md#oncategorychangestate) | In Model, before a set of category records changes state | Content | before 4.0 | +| [onInstallerBeforePackageDownload](./installer.md#oninstallerbeforepackagedownload) | In Installer, before a package is downloaded | Installer | before 4.0 | diff --git a/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md new file mode 100644 index 00000000..5cf7b3bd --- /dev/null +++ b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md @@ -0,0 +1,39 @@ +--- +sidebar_position: 1 +title: Installer Events +toc_max_heading_level: 2 +--- + +Installer Events +============== + +Installer plugin events are triggered when some routines are performed during the install process of extensions or when their update sites are downloaded. + +## onInstallerBeforePackageDownload + +### Description + +This event will be executed before an installable package (zip file) of an extension (package, component, module, plugin, template, library) is downloaded. It allows plugins to modify the url or headers for the request. + + +### Event Arguments + +The event class \Joomla\CMS\Event\Installer\BeforePackageDownloadEvent has the following arguments: + +- **`url`** - The url of the package. + +- **`headers`** - The headers which are sent with the request. + +### Return Value + +None. + +### Examples + +```php +public function onInstallerBeforePackageDownload(\Joomla\CMS\Event\Installer\BeforePackageDownloadEvent $event): void +{ + $event->updateUrl($event->getUrl() . '?auth=foo'); +} +``` + diff --git a/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/index.md b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/index.md index c9ff18e6..a17e7d7d 100644 --- a/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/index.md +++ b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/index.md @@ -29,3 +29,4 @@ The event Group refers to the group of plugins which Joomla ensures are imported | [onContentBeforeChangeState](./content.md#oncontentbeforechangestate) | In Model, before a set of records changes state | Content | 4.0 | | [onContentChangeState](./content.md#oncontentchangestate) | In Model, after a set of records changes state | Content | before 4.0 | | [onCategoryChangeState](./content.md#oncategorychangestate) | In Model, before a set of category records changes state | Content | before 4.0 | +| [onInstallerBeforePackageDownload](./installer.md#oninstallerbeforepackagedownload) | In Installer, before a package is downloaded | Installer | before 4.0 | diff --git a/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md new file mode 100644 index 00000000..5cf7b3bd --- /dev/null +++ b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md @@ -0,0 +1,39 @@ +--- +sidebar_position: 1 +title: Installer Events +toc_max_heading_level: 2 +--- + +Installer Events +============== + +Installer plugin events are triggered when some routines are performed during the install process of extensions or when their update sites are downloaded. + +## onInstallerBeforePackageDownload + +### Description + +This event will be executed before an installable package (zip file) of an extension (package, component, module, plugin, template, library) is downloaded. It allows plugins to modify the url or headers for the request. + + +### Event Arguments + +The event class \Joomla\CMS\Event\Installer\BeforePackageDownloadEvent has the following arguments: + +- **`url`** - The url of the package. + +- **`headers`** - The headers which are sent with the request. + +### Return Value + +None. + +### Examples + +```php +public function onInstallerBeforePackageDownload(\Joomla\CMS\Event\Installer\BeforePackageDownloadEvent $event): void +{ + $event->updateUrl($event->getUrl() . '?auth=foo'); +} +``` + From ea01ed0bac7b5ca9a8b9813652e1285cfb62578b Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:49:08 +0000 Subject: [PATCH 08/15] Update docs/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Harald Leithner --- docs/building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building-extensions/plugins/plugin-events/installer.md b/docs/building-extensions/plugins/plugin-events/installer.md index fdfff81e..d66fa2bd 100644 --- a/docs/building-extensions/plugins/plugin-events/installer.md +++ b/docs/building-extensions/plugins/plugin-events/installer.md @@ -5,7 +5,8 @@ toc_max_heading_level: 2 --- Installer Events -============== +================ + Installer plugin events are triggered when some routines are performed during the install process of extensions or when their update sites are downloaded. From e93995a447f66d489228bb304f9b864e63392e07 Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:49:21 +0000 Subject: [PATCH 09/15] Update docs/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Harald Leithner --- docs/building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building-extensions/plugins/plugin-events/installer.md b/docs/building-extensions/plugins/plugin-events/installer.md index d66fa2bd..560c78e5 100644 --- a/docs/building-extensions/plugins/plugin-events/installer.md +++ b/docs/building-extensions/plugins/plugin-events/installer.md @@ -19,7 +19,8 @@ This event will be executed before an installable package (zip file) of an exten ### Event Arguments -The event class \Joomla\CMS\Event\Installer\BeforePackageDownloadEvent has the following arguments: +The event class `\Joomla\CMS\Event\Installer\BeforePackageDownloadEvent` has the following arguments: + - **`url`** - The url of the package. From 5f755cd27ea90f303a2a5aa9680286b1dadba3e1 Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:49:31 +0000 Subject: [PATCH 10/15] Update docs/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Harald Leithner --- docs/building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/building-extensions/plugins/plugin-events/installer.md b/docs/building-extensions/plugins/plugin-events/installer.md index 560c78e5..cd48f9ff 100644 --- a/docs/building-extensions/plugins/plugin-events/installer.md +++ b/docs/building-extensions/plugins/plugin-events/installer.md @@ -47,7 +47,8 @@ This event will be executed before an update site is downloaded. It allows to mo ### Event Arguments -The event class \Joomla\CMS\Event\Installer\BeforeUpdateSiteDownloadEvent has the following arguments: +The event class `\Joomla\CMS\Event\Installer\BeforeUpdateSiteDownloadEvent` has the following arguments: + - **`url`** - The url of the update site. From 49ec0de56d52cf2f3127418e87c575b0f335c055 Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:49:43 +0000 Subject: [PATCH 11/15] Update migrations/52-53/new-features.md Co-authored-by: Harald Leithner --- migrations/52-53/new-features.md | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations/52-53/new-features.md b/migrations/52-53/new-features.md index 7780c6ef..0c81a09b 100644 --- a/migrations/52-53/new-features.md +++ b/migrations/52-53/new-features.md @@ -53,6 +53,7 @@ echo $this->form->renderControlFields(); ``` #### New before download update site event + A new event is available where an installer plugin can hook in before an update site url is fetched. Similar to what we have for package download of an extension. PR: https://github.com/joomla/joomla-cms/pull/44516 From f39b783dc5c30287964e471b019d986056880eb4 Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:49:54 +0000 Subject: [PATCH 12/15] Update versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Harald Leithner --- .../building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md index 5cf7b3bd..351858f0 100644 --- a/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md +++ b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md @@ -5,7 +5,8 @@ toc_max_heading_level: 2 --- Installer Events -============== +================ + Installer plugin events are triggered when some routines are performed during the install process of extensions or when their update sites are downloaded. From 25c98a7392d5deb1f893c08a1680cc462061cd51 Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:50:03 +0000 Subject: [PATCH 13/15] Update versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Harald Leithner --- .../building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md index 351858f0..ed7dd2f4 100644 --- a/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md +++ b/versioned_docs/version-4.4/building-extensions/plugins/plugin-events/installer.md @@ -19,7 +19,8 @@ This event will be executed before an installable package (zip file) of an exten ### Event Arguments -The event class \Joomla\CMS\Event\Installer\BeforePackageDownloadEvent has the following arguments: +The event class `\Joomla\CMS\Event\Installer\BeforePackageDownloadEvent` has the following arguments: + - **`url`** - The url of the package. From 693fae37164b9015cb90b2ce5f918bf64bb371c4 Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:50:13 +0000 Subject: [PATCH 14/15] Update versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Harald Leithner --- .../building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md index 5cf7b3bd..351858f0 100644 --- a/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md +++ b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md @@ -5,7 +5,8 @@ toc_max_heading_level: 2 --- Installer Events -============== +================ + Installer plugin events are triggered when some routines are performed during the install process of extensions or when their update sites are downloaded. From 4760463ad5b80a388b50473797d234140d048ba8 Mon Sep 17 00:00:00 2001 From: Robbie Jackson Date: Wed, 18 Dec 2024 20:50:24 +0000 Subject: [PATCH 15/15] Update versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md Co-authored-by: Harald Leithner --- .../building-extensions/plugins/plugin-events/installer.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md index 351858f0..0a340192 100644 --- a/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md +++ b/versioned_docs/version-5.2/building-extensions/plugins/plugin-events/installer.md @@ -19,7 +19,8 @@ This event will be executed before an installable package (zip file) of an exten ### Event Arguments -The event class \Joomla\CMS\Event\Installer\BeforePackageDownloadEvent has the following arguments: +The event class `\Joomla\CMS\Event\Installer\BeforePackageDownloadEvent` has the following arguments: + - **`url`** - The url of the package.