WidgetBase::addMoreAjax
public static function WidgetBase::addMoreAjax
public static WidgetBase::addMoreAjax(array $form, FormStateInterface $form_state)
Ajax callback for the "Add another item" button.
This returns the new page content to replace the page content made obsolete by the form submission.
File
- core/lib/Drupal/Core/Field/WidgetBase.php, line 291
Class
- WidgetBase
- Base class for 'Field widget' plugin implementations.