There are lots of issues related to improving the Taxonomy API, and some overlap:
- #106015: [performance] DB caching for \Drupal\taxonomy\TermStorageController::loadTree()
- #698918: Reduce memory usage from \Drupal\taxonomy\TermStorageInterface::loadTree() when parent is specified
- #1207326: Refactor taxonomy hierarchy API for performance, consistency, and convenience
- #251595: Add taxonomy_term_load_descendents()
- #499144: taxonomy_get_tree() generates data almost, but not quite, useful in taxonomy_save_term()
- #1175156: Tests for $term->parent in Term::save()
- #2858753: Drupal should prevent taxonomy term heirarchy loops at the data model layer
Closed
Comments
Comment #0.0
berdirUpdated issue summary.
Comment #0.1
panchoadd two more
Comment #0.2
panchoadded #16514
Comment #1
xjmAny plain API improve-ifying should be postponed to 8.1.x now at least, assuming a BC layer can be provided.
I removed all the closed issues from the summary, but individual outstanding children here should be triaged too.
Comment #5
yareckon commentedComment #6
colan#267855: Provide an entity hierarchy API would definitely help with some of this.
Comment #19
quietone commentedCertainly no longer postponed. I updated the IS to remove Drupal 7 issues. But I am wondering if this issue is still needed.