function EntityViewDisplayEditForm::alterSettingsSummary
Same name in other branches
- 9 core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\EntityViewDisplayEditForm::alterSettingsSummary()
- 10 core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\EntityViewDisplayEditForm::alterSettingsSummary()
- 11.x core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\EntityViewDisplayEditForm::alterSettingsSummary()
Overrides EntityDisplayFormBase::alterSettingsSummary
File
-
core/
modules/ field_ui/ src/ Form/ EntityViewDisplayEditForm.php, line 187
Class
- EntityViewDisplayEditForm
- Edit form for the EntityViewDisplay entity type.
Namespace
Drupal\field_ui\FormCode
protected function alterSettingsSummary(array &$summary, PluginSettingsInterface $plugin, FieldDefinitionInterface $field_definition) {
$context = [
'formatter' => $plugin,
'field_definition' => $field_definition,
'view_mode' => $this->entity
->getMode(),
];
$this->moduleHandler
->alter('field_formatter_settings_summary', $summary, $context);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.