Cover by Sammy Spets

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Term entities

Similar to the vocabulary entities, terms have a special type name: taxonomy_term. The properties of taxonomy_term entities are shown in the following table:

Wrapper property

Type (Read/Write)

Description

Entity property

tid

integer (R)

Term ID

 

name

string (R/W)

Name

 

description

string (R/W)

Description

 

weight

integer (R/W)

Weight; value for the order of terms

 

node_count

integer (R)

Number of nodes tagged with the term

 

url

uri/string (R)

URL

N/A

vocabulary

taxonomy_vocabulary/integer (R/W)

Vocabulary

vid

parent

list<taxonomy_term> (R/W)

Parent terms

N/A

parents_all

list<taxonomy_term> (R/W)

Ancestor terms

N/A

Properties of taxonomy_term entities are quite straightforward. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required