Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

(no description)

File Size: 68 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

primary_extend:: (4 methods):
  __construct()
  get_primaryview()
  get_hook_description()
  get_hook_tags()


Class: primary_extend  - X-Ref

Allows plugins to insert nodes into site primary navigation

__construct(protected primary $primaryview)   X-Ref
Creates new hook.

param: primary $primaryview Primary navigation view

get_primaryview()   X-Ref
Primary navigation view

return: primary

get_hook_description()   X-Ref
Describes the hook purpose.

return: string

get_hook_tags()   X-Ref
List of tags that describe this hook.

return: string[]