Add documentation for `all` environment of event listeners (#66)
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 20 Aug 2020 07:49:58 +0000 (09:49 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Aug 2020 07:49:58 +0000 (09:49 +0200)
Resolves #64

pages/package/pip/package_pip_event-listener.md

index 9c42a8e4f0009859024ffa98c4acff96ac4eedd8..7afe3c3731e3ea6c04f874b091262a1c8e17e2ea 100644 (file)
@@ -38,8 +38,8 @@ This is the case if `1` is used as the value.
 
 ### `<environment>`
 
-The value of the environment element can either be `admin` or `user` and is `user` if no value is given.
-The value determines if the event listener will be executed in the frontend (`user`) or the backend (`admin`).
+The value of the environment element must be one of `user`, `admin` or `all` and defaults to `user` if no value is given.
+The value determines if the event listener will be executed in the frontend (`user`), the backend (`admin`) or both (`all`).
 
 ### `<nice>`