You are here

protected function MenuTrailByPathTestCase::menuUrlBasePath in Menu Trail By Path 7.3

Same name and namespace in other branches
  1. 7.2 menu_trail_by_path.test \MenuTrailByPathTestCase::menuUrlBasePath()

Helper for getting the base: "link_path" that assertMenuActiveTrail expects.

Parameters

$name:

Return value

string

File

./menu_trail_by_path.test, line 191
Tests for menu_trail_by_path module.

Class

MenuTrailByPathTestCase
@file Tests for menu_trail_by_path module.

Code

protected function menuUrlBasePath($name) {
  $link_path = $this->menuUrls[$name];
  return $link_path;
}