You are here

function hook_field_formatter_settings_summary_alter in Field formatter settings 7

Alter the short summary for the current formatter settings of an instance.

Parameters

$summary: A string containing a short summary of the formatter settings.

$context: An array with additional context for the summary:

  • field: The field structure.
  • instance: The instance structure.
  • view_mode: The view mode for which a settings summary is requested.

See also

hook_field_formatter_settings_summary()

File

./field_formatter_settings.api.php, line 54
Hooks provided by the Field formatter settings module.

Code

function hook_field_formatter_settings_summary_alter(&$summary, array $context) {
}