You are here

public function MenuBasedBreadcrumbBuilder::setMenuTrail in Menu Breadcrumb 8

Same name and namespace in other branches
  1. 2.0.x src/MenuBasedBreadcrumbBuilder.php \Drupal\menu_breadcrumb\MenuBasedBreadcrumbBuilder::setMenuTrail()

The setter function for $menuTrail property.

Parameters

string $menu_trail: The menu trail.

File

src/MenuBasedBreadcrumbBuilder.php, line 466

Class

MenuBasedBreadcrumbBuilder

Namespace

Drupal\menu_breadcrumb

Code

public function setMenuTrail($menu_trail) {
  $this->menuTrail = $menu_trail;
}