public static function EntityFormProxy::update in Lightning Media 8.3
Same name and namespace in other branches
- 8.4 src/Plugin/EntityBrowser/Widget/EntityFormProxy.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\EntityFormProxy::update()
Submit callback for the Update button.
Parameters
array $form: The complete form.
\Drupal\Core\Form\FormStateInterface $form_state: The current form state.
File
- src/
Plugin/ EntityBrowser/ Widget/ EntityFormProxy.php, line 164
Class
- EntityFormProxy
- Base class for EB widgets which wrap around an (inline) entity form.
Namespace
Drupal\lightning_media\Plugin\EntityBrowser\WidgetCode
public static function update(array &$form, FormStateInterface $form_state) {
$form_state
->setRebuild();
}