Update required info about Hooks

Spent too much time looking for something to give me the right direction. Found this forum post from 2017.
https://help.nextcloud.com/t/filehook-not-working/14591/14

Signed-off-by: Mason Payne <gomas.bmw@gmail.com>
This commit is contained in:
Mason Payne 2020-10-15 21:37:47 -06:00 committed by backportbot[bot]
parent d0c595e2eb
commit d9be21835c

View File

@ -562,6 +562,14 @@ Filesystem root
Injectable from the ServerContainer by calling the method **getRootFolder()**, **getUserFolder()** or **getAppFolder()**.
To enable these events for your app you should add the following to your `info.xml` file:
.. code-block:: xml
<types>
<filesystem/>
</types>
Filesystem hooks available in scope **\\OC\\Files**:
* **preWrite** (\\OCP\\Files\\Node $node)