You are here

public function TaxonomyMenu::getDepth in Taxonomy menu 8.3

Get the depth of terms to generate menu items for.

Return value

int The depth.

Overrides TaxonomyMenuInterface::getDepth

1 call to TaxonomyMenu::getDepth()
TaxonomyMenu::getLinks in src/Entity/TaxonomyMenu.php
Get menu link plugin definitions.

File

src/Entity/TaxonomyMenu.php, line 121

Class

TaxonomyMenu
Defines the TaxonomyMenu entity.

Namespace

Drupal\taxonomy_menu\Entity

Code

public function getDepth() {
  return $this->depth;
}