Adding a simple "Cancel" button to a form, which points to a route is easy, but you have to know how: $form['actions']['cancel'] = [ '#type' => 'link', '#title' => t('Cancel'), '#attributes' => [ 'class' => [ 'button', 'button--danger',
Welcome to my Blog, happy reading! ツ
This post saved you a lot of time and headache?
Then I'd be very happy about a delicious coffee! Or a helpful book from my wish list.
Or are you looking for professional web software development?
Our experienced team at webks GmbH consults, develops & implements individual, innovative web, eCommerce, Drupal CMS & mobile applications.