-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
93e152a
commit 0bcc9f7
Showing
3 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* MarkupMenu is a module for generating menu markup. See README.md for more details. | ||
* Some ideas and code in this module are based on the Markup Simple Navigation module. | ||
* | ||
* @version 1.1.0 | ||
* @version 1.1.1 | ||
* @author Teppo Koivula <[email protected]> | ||
* @license Mozilla Public License v2.0 http://mozilla.org/MPL/2.0/ | ||
*/ | ||
|
@@ -428,7 +428,7 @@ protected function getPage($source = null, $default = null): ?Page { | |
* @param array $placeholders Array of placeholders for string replacements | ||
* @return string Template | ||
*/ | ||
protected function ___getTemplate($template_name, ?WireData $item = null, array $placeholders = []): string { | ||
protected function ___getTemplate($template_name, ?WireData $item = null, array $options = [], array $placeholders = []): string { | ||
$template = $options['templates'][$template_name]; | ||
return is_callable($template) ? $template($item, $options, $placeholders) : $template; | ||
} | ||
|