public function EntityEmbedDialog::updatePluginConfigurationForm in Entity Embed 8
Form submission handler to update the plugin configuration form.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
File
- src/
Form/ EntityEmbedDialog.php, line 667
Class
- EntityEmbedDialog
- Provides a form to embed entities by specifying data attributes.
Namespace
Drupal\entity_embed\FormCode
public function updatePluginConfigurationForm(array &$form, FormStateInterface $form_state) {
return $form['attributes']['data-entity-embed-display-settings'];
}