Issue #1689426 by mjonesdinero, ronan.orb: Fix return value docs for taxonomy_term_load function

8.0.x
Jennifer Hodgdon 2012-07-19 16:11:59 -07:00
parent ac6d1a922b
commit 507396740a
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {