Inject embedded social media follow link buttons or signup forms into node content between paragraphs Drupal 8 9 10

References that were not needed but look good for similar stuff

Because we always want to go to the same place on the page when using the mini form, that is, this destination does not have to be dynamic, this works great:

    $form['#action'] = "#snapshot-mini-form";

This sends the reader back to where they were in article—the form—after submit.

  $this->newsletters = array_combine($newsletters, $newsletters);