protected function EntityViewDisplayEditForm::alterSettingsSummary in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\EntityViewDisplayEditForm::alterSettingsSummary()
Alters the widget or formatter settings summary.
Parameters
array $summary: The widget or formatter settings summary.
\Drupal\Core\Field\PluginSettingsInterface $plugin: The widget or formatter.
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition.
Overrides EntityDisplayFormBase::alterSettingsSummary
File
- core/
modules/ field_ui/ src/ Form/ EntityViewDisplayEditForm.php, line 176 - Contains \Drupal\field_ui\Form\EntityViewDisplayEditForm.
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 = array(
'formatter' => $plugin,
'field_definition' => $field_definition,
'view_mode' => $this->entity
->getMode(),
);
$this->moduleHandler
->alter('field_formatter_settings_summary', $summary, $context);
}