Skip to content
Snippets Groups Projects
Commit 1fd234aa authored by catch's avatar catch
Browse files

Issue #1988708 by andypost: Drop unused _taxonomy_get_tid_from_term()

parent a371a7b5
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -862,13 +862,6 @@ function taxonomy_term_load($tid) { ...@@ -862,13 +862,6 @@ function taxonomy_term_load($tid) {
return entity_load('taxonomy_term', $tid); return entity_load('taxonomy_term', $tid);
} }
/**
* Helper function for array_map purposes.
*/
function _taxonomy_get_tid_from_term(Term $term) {
return $term->id();
}
/** /**
* Implodes a list of tags of a certain vocabulary into a string. * Implodes a list of tags of a certain vocabulary into a string.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment