You are here

public function TaxonomyMenu::useTermWeightOrder in Taxonomy menu 8.3

Return if menu items should be ordered by the terms weight.

Default value is TRUE.

Return value

bool True or false.

1 call to TaxonomyMenu::useTermWeightOrder()
TaxonomyMenu::buildMenuDefinition in src/Entity/TaxonomyMenu.php
Generate a menu link plugin definition for a taxonomy term.

File

src/Entity/TaxonomyMenu.php, line 147

Class

TaxonomyMenu
Defines the TaxonomyMenu entity.

Namespace

Drupal\taxonomy_menu\Entity

Code

public function useTermWeightOrder() {
  return isset($this->use_term_weight_order) ? $this->use_term_weight_order : TRUE;
}