1.20.x field.module field_entity_view_mode_insert($view_mode, $entity_type)

Implements hook_entity_view_mode_insert().

File

modules/field/field.module, line 1403
Attach custom data fields to Backdrop entities.

Code

function field_entity_view_mode_insert($view_mode, $entity_type) {
  field_entity_view_mode_update($view_mode, $entity_type);
}