function FieldThirdPartyTestHooks::fieldWidgetSettingsSummaryAlter

Same name and namespace in other branches
  1. 11.x core/modules/field/tests/modules/field_third_party_test/src/Hook/FieldThirdPartyTestHooks.php \Drupal\field_third_party_test\Hook\FieldThirdPartyTestHooks::fieldWidgetSettingsSummaryAlter()

Implements hook_field_widget_settings_summary_alter().

Attributes

#[Hook('field_widget_settings_summary_alter')]

File

core/modules/field/tests/modules/field_third_party_test/src/Hook/FieldThirdPartyTestHooks.php, line 50

Class

FieldThirdPartyTestHooks
Hook implementations for field_third_party_test.

Namespace

Drupal\field_third_party_test\Hook

Code

public function fieldWidgetSettingsSummaryAlter(&$summary, $context) : void {
  $summary[] = 'field_test_field_widget_settings_summary_alter';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.