Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / lib / Drupal / Core / Render / Element / Operations.php
1 <?php
2
3 namespace Drupal\Core\Render\Element;
4
5 /**
6  * Provides a render element for a set of operations links.
7  *
8  * This is a special case of \Drupal\Core\Render\Element\Dropbutton; the only
9  * difference is that it offers themes the possibility to render it differently
10  * through a theme suggestion.
11  *
12  * @see \Drupal|Core\Render\Element\DropButton
13  *
14  * @RenderElement("operations")
15  */
16 class Operations extends Dropbutton {
17
18   /**
19    * {@inheritdoc}
20    */
21   public function getInfo() {
22     return [
23       '#theme' => 'links__dropbutton__operations',
24     ] + parent::getInfo();
25   }
26
27 }