summaryrefslogtreecommitdiffstatshomepage
path: root/core/lib/Drupal/Core/GeneratedButton.php
blob: 52eb17c8f65a574e322c0b115dbc32f18878a124 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Drupal\Core;

/**
 * This class holds a <button> generated from the <button> route.
 *
 * Unlike \Drupal\Core\Render\Element\Button, this is not for generating
 * buttons for forms. This class is for putting a button in a list of links
 * such as a multi-level menu.
 */
class GeneratedButton extends GeneratedLink {

  /**
   * {@inheritdoc}
   */
  const TAG = 'button';

}