Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d7 / hook / field_update_field.twig
1 /**
2  * Implements hook_field_update_field().
3  */
4 function {{ machine_name }}_field_update_field($field, $prior_field, $has_data) {
5   // Reset the static value that keeps track of allowed values for list fields.
6   drupal_static_reset('list_allowed_values');
7 }