public static function FieldFormatterWithInlineSettings::rebuildSubmit in (Entity Reference) Field Formatters 8
Rebuilds the form on select submit.
Parameters
array $form: The form.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
File
- src/
Plugin/ Field/ FieldFormatter/ FieldFormatterWithInlineSettings.php, line 211
Class
- FieldFormatterWithInlineSettings
- Plugin implementation of the 'link' formatter.
Namespace
Drupal\field_formatter\Plugin\Field\FieldFormatterCode
public static function rebuildSubmit(array $form, FormStateInterface $form_state) {
$form_state
->setRebuild(TRUE);
}