function apigee_edge_field_formatter_info_alter in Apigee Edge 8
Implements hook_field_formatter_info_alter().
File
- ./
apigee_edge.module, line 368 - Copyright 2018 Google Inc.
Code
function apigee_edge_field_formatter_info_alter(array &$info) {
// Allows using the 'uri_link' formatter for the 'app_callback_url'
// field type, which uses it as default formatter.
// @see \Drupal\apigee_edge\Plugin\Field\FieldType\AppCallbackUrlItem
$info['uri_link']['field_types'][] = 'app_callback_url';
}