API page: https://api.drupal.org/api/drupal/core%21modules%21taxonomy%21taxonomy.m...
As mentioned in a comment by @StephenWard, the way to pull terms by name/vocab is to pull from taxonomy_term storage, not taxonomy_vocabulary storage (which would pull vocabulary entities). The documentation (in all versions) should change getStorage('taxonomy_vocabulary') into getStorage('taxonomy_term').
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3293996-6.patch | 746 bytes | narendra.rajwar27 |
Issue fork drupal-3293996
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
Comment #2
cilefen commentedComment #4
immaculatexavier commentedComment #5
immaculatexavier commentedComment #6
narendra.rajwar27Comment #7
jatingupta40 commentedI will review this patch
Comment #8
jatingupta40 commentedWorking fine. Updating status to RTBC.
Comment #10
catchCommitted/pushed to 9.5.x and cherry-picked to 9.4.x, thanks!