FormatterInterface::settingsForm

public function FormatterInterface::settingsForm

public FormatterInterface::settingsForm(array $form, FormStateInterface $form_state)

Returns a form to configure settings for the formatter.

Invoked from \Drupal\field_ui\Form\EntityDisplayFormBase to allow administrators to configure the formatter. The field_ui module takes care of handling submitted form values.

Parameters

array $form: The form where the settings form is being included in.

登录查看完整内容