CMS Drupal Mastering Development

How to embed HTML and CSS in a custom form element?

This worked in Drupal 7 but isn’t in Drupal 8. $form[‘covid-19’] = array( ‘#markup’ => ‘<div style=”border: 2px solid red;padding:10px;margin-bottom:10px;”><strong>Due to the COVID-19 situation, we will only be purchasing e-books and e-audiobooks at this time.</strong> You are welcome to enter your information for print books, DVDs, or CDs, and they will be purchased when the […]