From df763eb8b34b9823511d93ec078d4644d3e6ff64 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 14 Oct 2024 09:35:41 +0200 Subject: Add hook entries_favorite (#6880) Called when entries are starred or unstarred --- lib/Minz/ExtensionManager.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index 2d7c92d6b..b3756372e 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -26,6 +26,10 @@ final class Minz_ExtensionManager { 'list' => array(), 'signature' => 'OneToOne', ), + 'entries_favorite' => [ // function(array $ids, bool $is_favorite): void + 'list' => [], + 'signature' => 'PassArguments', + ], 'entry_auto_read' => array( // function(FreshRSS_Entry $entry, string $why): void 'list' => array(), 'signature' => 'PassArguments', -- cgit v1.2.3