aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/classes/ElggMenuItem.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggMenuItem.php b/engine/classes/ElggMenuItem.php
index 8bff0abba..58c26aa22 100644
--- a/engine/classes/ElggMenuItem.php
+++ b/engine/classes/ElggMenuItem.php
@@ -401,13 +401,13 @@ class ElggMenuItem {
}
/**
- * Get the menu link
+ * Get the menu item content (usually a link)
*
- * @params array $vars Options to pass to output/url
+ * @params array $vars Options to pass to output/url if a link
*
* @return string
*/
- public function getLink(array $vars = array()) {
+ public function getContent(array $vars = array()) {
$vars['text'] = $this->text;
if ($this->href) {
$vars['href'] = $this->href;