You may need to replace l() and drupal_get_query_parameters() with some Drupal 8 service methods.
Angebot innerhalb von 24 Stunden
Ob ein großes kommerzielles System, oder eine kleine Business Seite, wir schicken ein Angebot ab innerhalb von 24 Stunden nachdem Sie diese Taste drücken: Angebot anfordern
You should be able to do exactly the same thing in a Drupal 8 module using the same hook. In D8 it looks like this:
You may need to replace l() and drupal_get_query_parameters() with some Drupal 8 service methods.