Pull merge.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / field_extra_fields_display_alter.twig
1 /**
2  * Implements hook_field_extra_fields_display_alter().
3  */
4 function {{ machine_name }}_field_extra_fields_display_alter(&$displays, $context) {
5   if ($context['entity_type'] == 'taxonomy_term' && $context['view_mode'] == 'full') {
6     $displays['description']['visible'] = FALSE;
7   }
8 }