Problem/Motivation

Vocabulary listings differ from entity listings in what the front end needs from them: the hierarchy, usually the whole tree at once, ordered by weight rather than paginated. Serving them through the generic listing class would make every consumer paginate a tree.

Proposed resolution

  • MyrestTermListResourceBase: whole vocabulary or a subtree, in weight order, with depth, honouring access and translation.
  • Term detail through the entity detail base class, with no separate class — a term is a content entity like any other once the base classes stop assuming a node.
  • Cache tags per vocabulary so that editing one term invalidates the tree.

Remaining tasks

Everything.

Issue fork myrest-3620811

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sergeydruua created an issue. See original summary.

  • sergeydruua committed 50b34d08 on 1.0.x
    Issue #3620811: Add the taxonomy term list base class
    
sergeydruua’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

sergeydruua’s picture

Status: Fixed » Closed (fixed)