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: 168 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

language_menu_test:: (3 methods):
  setUp()
  test_get_lang_menu()
  get_lang_menu_provider()


Class: language_menu_test  - X-Ref

Primary navigation renderable test

setUp()   X-Ref
Basic setup to make sure the nav objects gets generated without any issues.


test_get_lang_menu(bool $withadditionallangs, string $language, array $expected)   X-Ref
Test the get_lang_menu

param: bool $withadditionallangs
param: string $language
param: array $expected

get_lang_menu_provider()   X-Ref
Provider for test_get_lang_menu

return: array