diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-09-01 20:06:41 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-09-01 20:10:53 +0200 |
commit | 2ddc6c302669965cae401d4e4e2030e0ba78c95f (patch) | |
tree | 424ed5532f915248350e9c86cfd4cf62077cda35 /lib/public | |
parent | 2892707af53398b27ed4795c01310e27627352c3 (diff) | |
download | nextcloud-server-2ddc6c302669965cae401d4e4e2030e0ba78c95f.tar.gz nextcloud-server-2ddc6c302669965cae401d4e4e2030e0ba78c95f.zip |
Add event to load scripts for reference rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Collaboration/Reference/RenderReferenceEvent.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/public/Collaboration/Reference/RenderReferenceEvent.php b/lib/public/Collaboration/Reference/RenderReferenceEvent.php new file mode 100644 index 00000000000..b6d312636c4 --- /dev/null +++ b/lib/public/Collaboration/Reference/RenderReferenceEvent.php @@ -0,0 +1,36 @@ +<?php + +declare(strict_types=1); +/** + * @copyright Copyright (c) 2022 Julius Härtl <jus@bitgrid.net> + * + * @author Julius Härtl <jus@bitgrid.net> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +namespace OCP\Collaboration\Reference; + +use OCP\EventDispatcher\Event; + +/** + * Event that apps can emit on their page rendering to trigger loading of aditional + * scripts for reference widget rendering + * + * @since 25.0.0 + */ +class RenderReferenceEvent extends Event { +} |