Issue #1689426 by mjonesdinero, ronan.orb: Fix return value docs for taxonomy_term_load function
parent
ac6d1a922b
commit
507396740a
|
@ -1024,7 +1024,8 @@ function taxonomy_vocabulary_machine_name_load($name) {
|
|||
* A term's ID
|
||||
*
|
||||
* @return Drupal\taxonomy\Term|false
|
||||
* A taxonomy term entity. Results are statically cached.
|
||||
* A taxonomy term entity, or FALSE if the term was not found. Results are
|
||||
* statically cached.
|
||||
*/
|
||||
function taxonomy_term_load($tid) {
|
||||
if (!is_numeric($tid)) {
|
||||
|
|
Loading…
Reference in New Issue