Check if its possible to use dependency injection instead of using \Drupal::formBuilder() directly. This is used in several places in EntityEmbedDialog. Use dependency injection in all such places, if possible.
Check if its possible to use dependency injection instead of using \Drupal::formBuilder() directly. This is used in several places in EntityEmbedDialog. Use dependency injection in all such places, if possible.
Comments
Comment #1
cs_shadow commentedIndeed its pretty much possible. Here's the PR: https://github.com/drupal-media/entity_embed/pull/53
Comment #2
slashrsm commentedMerged.