Skip to main content
Drupal 8
Menu
Main navigation
Home
Home sub-navigation
Question And Answer
NEWS
Projects
Forums
Tutorials - Drupal
Tutorials - Drupal sub-navigation
Android
Other
User account menu
Log in
Breadcrumb
Home
Get taxonomy terms of a vocabulary - Drupal 8
To sort by weight, we can…
Search
Add new comment
To sort by weight, we can…
To sort by weight, we can add
$query->sort(
'weight'
);
Reply
You must have JavaScript enabled to use this form.
Your name
Subject
Comment
About text formats
Plain text
No HTML tags allowed.
Lines and paragraphs break automatically.
Web page addresses and email addresses turn into links automatically.