You are here

public function TermInterface::getWeight in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::getWeight()

Gets the weight of this term.

Return value

int The weight of the term.

1 method overrides TermInterface::getWeight()
Term::getWeight in core/modules/taxonomy/src/Entity/Term.php
Gets the weight of this term.

File

core/modules/taxonomy/src/TermInterface.php, line 78
Contains \Drupal\taxonomy\TermInterface.

Class

TermInterface
Provides an interface defining a taxonomy term entity.

Namespace

Drupal\taxonomy

Code

public function getWeight();