diff options
| author | 2023-07-05 11:00:26 +0200 | |
|---|---|---|
| committer | 2023-07-05 11:00:26 +0200 | |
| commit | 1db606bc1b6cf25d9b9c4bef362acdb964ce1e8a (patch) | |
| tree | 9556fec20e66270f7117850530de01f0f3c36b65 /lib/Minz/ExtensionManager.php | |
| parent | ebf62a4296b8007527325374608de5a7b972d598 (diff) | |
New extension hook entry_auto_read (#5505)
* New extension hook entry_auto_read
For extensions to be notified of articles being automatically marked as read for various reasons
* Documentation + entry_auto_unread
Diffstat (limited to 'lib/Minz/ExtensionManager.php')
| -rw-r--r-- | lib/Minz/ExtensionManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index 9ba7028d3..4fc62f254 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -26,6 +26,14 @@ final class Minz_ExtensionManager { 'list' => array(), 'signature' => 'OneToOne', ), + 'entry_auto_read' => array( // function(FreshRSS_Entry $entry, string $why): void + 'list' => array(), + 'signature' => 'PassArguments', + ), + 'entry_auto_unread' => array( // function(FreshRSS_Entry $entry, string $why): void + 'list' => array(), + 'signature' => 'PassArguments', + ), 'entry_before_display' => array( // function($entry) -> Entry | null 'list' => array(), 'signature' => 'OneToOne', |
