GeneratedButton.php 393 B

12345678910111213141516171819
  1. <?php
  2. namespace Drupal\Core;
  3. /**
  4. * This class holds a <button> generated from the <button> route.
  5. *
  6. * Unlike \Drupal\Core\Render\Element\Button, this is not for generating
  7. * buttons for forms. This class is for putting a button in a list of links
  8. * such as a multi-level menu.
  9. */
  10. class GeneratedButton extends GeneratedLink {
  11. /**
  12. * {@inheritdoc}
  13. */
  14. const TAG = 'button';
  15. }