Function Hook_notification_news_entry->list_handled_codes
Definitions
sources/hooks/systems/notifications/news_entry.php
- Get a list of all the notification codes this hook can handle.(Addons can define hooks that handle whole sets of codes, so hooks are written so they can take wide authority).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Returns
- List of codes (mapping between code names, and a pair: section and labelling for those codes)
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a list of all the notification codes this hook can handle.(Addons can define hooks that handle whole sets of codes, so hooks are written so they can take wide authority).
*
* @return array List of codes (mapping between code names, and a pair: section and labelling for those codes)
*/
public function list_handled_codes() : array
* Get a list of all the notification codes this hook can handle.(Addons can define hooks that handle whole sets of codes, so hooks are written so they can take wide authority).
*
* @return array List of codes (mapping between code names, and a pair: section and labelling for those codes)
*/
public function list_handled_codes() : array

