Mercurial > hg > isophonics-drupal-site
comparison core/modules/taxonomy/taxonomy.module @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
211 * @param string $langcode | 211 * @param string $langcode |
212 * (optional) A language code to use for rendering. Defaults to the global | 212 * (optional) A language code to use for rendering. Defaults to the global |
213 * content language of the current request. | 213 * content language of the current request. |
214 * | 214 * |
215 * @return array | 215 * @return array |
216 * A $page element suitable for use by drupal_render(). | 216 * A $page element suitable for use by |
217 * \Drupal\Core\Render\RendererInterface::render(). | |
217 */ | 218 */ |
218 function taxonomy_term_view(Term $term, $view_mode = 'full', $langcode = NULL) { | 219 function taxonomy_term_view(Term $term, $view_mode = 'full', $langcode = NULL) { |
219 return entity_view($term, $view_mode, $langcode); | 220 return entity_view($term, $view_mode, $langcode); |
220 } | 221 } |
221 | 222 |
229 * @param string $langcode | 230 * @param string $langcode |
230 * (optional) A language code to use for rendering. Defaults to the global | 231 * (optional) A language code to use for rendering. Defaults to the global |
231 * content language of the current request. | 232 * content language of the current request. |
232 * | 233 * |
233 * @return array | 234 * @return array |
234 * An array in the format expected by drupal_render(). | 235 * An array in the format expected by |
236 * \Drupal\Core\Render\RendererInterface::render(). | |
235 */ | 237 */ |
236 function taxonomy_term_view_multiple(array $terms, $view_mode = 'full', $langcode = NULL) { | 238 function taxonomy_term_view_multiple(array $terms, $view_mode = 'full', $langcode = NULL) { |
237 return entity_view_multiple($terms, $view_mode, $langcode); | 239 return entity_view_multiple($terms, $view_mode, $langcode); |
238 } | 240 } |
239 | 241 |