Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TermInterface.php

function TermInterface::getWeight

Gets the term weight.

Return value

int The term weight.

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

File

core/modules/taxonomy/src/TermInterface.php, line 75

Class

TermInterface
Provides an interface defining a taxonomy term entity.

Namespace

Drupal\taxonomy

Code

public function getWeight();
RSS feed
Powered by Drupal