Skip to content

Commit

Permalink
Merge pull request #2639 from acrobat/fix-bc-break-node-item
Browse files Browse the repository at this point in the history
[NodeBundle] Restore NodeMenuItem::getLang method to fix BC break
  • Loading branch information
acrobat committed Mar 5, 2020
2 parents 1cc96e6 + be41536 commit 46656a8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Kunstmaan/NodeBundle/Helper/NodeMenuItem.php
Expand Up @@ -288,4 +288,12 @@ public function getActive()
{
return $this->menu->getActive($this->getSlug());
}

/**
* @return string
*/
public function getLang()
{
return $this->menu->getLocale();
}
}

0 comments on commit 46656a8

Please sign in to comment.