How to customize the page /node/add? On Drupal 8, there is a page on /node/add. I want to customize this page by replacing the links with buttons, but I have not found a template to do that.

I have also enabled the debug mode, but there is no template suggestion.

How do I customize the page?

&lt;div role="main" class="main-container container js-quickedit-main-content"&gt;
    &lt;div class="row"&gt;

        &lt;div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" role="heading"&gt;
            &lt;div class="region region-header"&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        &lt;section class="col-xs-12 col-sm-12 col-md-12 col-lg-12"&gt;
            &lt;a id="main-content"&gt;&lt;/a&gt;
            &lt;div class="region region-content"&gt;
                &lt;h1 class="page-header"&gt;Ajouter du contenu&lt;/h1&gt;
                &lt;dl&gt;
                    &lt;dt&gt;&lt;a href="/node/add/annonce"&gt;Annonce&lt;/a&gt;&lt;/dt&gt;
                    &lt;dd&gt;&lt;/dd&gt;
                    &lt;dt&gt;&lt;a href="/node/add/article"&gt;Article&lt;/a&gt;&lt;/dt&gt;
                    &lt;dd&gt;&lt;/dd&gt;
                    &lt;dt&gt;&lt;a href="/node/add/discussion"&gt;Discussion&lt;/a&gt;&lt;/dt&gt;
                    &lt;dd&gt;&lt;/dd&gt;
                    &lt;dt&gt;&lt;a href="/node/add/recette"&gt;Recette&lt;/a&gt;&lt;/dt&gt;
                    &lt;dd&gt;&lt;/dd&gt;
                &lt;/dl&gt;
            &lt;/div&gt;
        &lt;/section&gt;

    &lt;/div&gt;
&lt;/div&gt;
Forms are manipulated in Drupal 8 predominantly by using services, twig templates and yaml files, rather than hooks. Hooks are still used, but the code in the hooks is limited in comparison with Drupal 7.

On the other hand, new D8 concepts such as Services and Event Subscribers have become much more important.

Here's a good tutorial showing how to alter the Drupal 8 login form:

https://www.foreach.be/blog/how-manipulate-forms-drupal-8

Follow the steps in the tutorial to create a simple form_overwrite module.

When you get to the step where you create the src/Routing/RouteSubscriber.php file, you'll diverge slightly from the tutorial.

Instead of altering the routeSubscriber for user.login, you'll want to alter the one for node.add:

&lt;?php

/**
 * @file
 * Contains \Drupal\form_overwrite\Routing\RouteSubscriber.
 */

namespace Drupal\form_overwrite\Routing;

use Drupal\Core\Routing\RouteSubscriberBase;
use Symfony\Component\Routing\RouteCollection;

/**
 * Listens to the dynamic route events.
 */
class RouteSubscriber extends RouteSubscriberBase {
  /**
   * {@inheritdoc}
   */
  protected function alterRoutes(RouteCollection $collection) {
    // This is the one from the linked article
    if ($route = $collection-&gt;get('user.login')) {
      $route-&gt;setDefault('_form', '\Drupal\form_overwrite\Form\NewUserLoginForm');
    }
    // This is the one you want to write
    if ($route = $collection-&gt;get('node.add')) {
      $route-&gt;setDefault('_form', '\Drupal\form_overwrite\Form\NewNodeAddForm');
    }
  }
}


Armed with this knowledge, you should be able to adapt the linked tutorial to suit your needs. Good luck!