Function Hook_notification_quiz_results->supports_categories

Definitions

sources/hooks/systems/notifications/quiz_results.php

  • Find whether a handled notification code supports categories.(Content types, for example, will define notifications on specific categories, not just in general. The categories are interpreted by the hook and may be complex. E.g. it might be like a regexp match, or like FORUM:3 or TOPIC:100).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$notification_code ID_TEXT required parameter N/A N/A Notification code

Return

  • Whether it does
  • Type: boolean
  • Set: N/A
  • Range: N/A