You are here

public function MenuBasedBreadcrumbBuilder::setTaxonomyAttachment in Menu Breadcrumb 8

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

The setter function for $taxonomyAttachment property.

Parameters

\Drupal\node\NodeInterface $taxonomy_attachment: The taxonomy attachment.

File

src/MenuBasedBreadcrumbBuilder.php, line 486

Class

MenuBasedBreadcrumbBuilder

Namespace

Drupal\menu_breadcrumb

Code

public function setTaxonomyAttachment(NodeInterface $taxonomy_attachment) {
  $this->taxonomyAttachment = $taxonomy_attachment;
}