Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function __construct(CalendarEvent $event, $itemsPerPage = null) |
||
23 | { |
||
24 | parent::__construct($itemsPerPage); |
||
25 | $this->addComponent(new GridFieldAddNewButton('buttons-before-left')); |
||
26 | $this->addComponent(new GuestListExportButton('buttons-before-left', $event->Fields()->map()->toArray())); |
||
27 | $this->extend('updateGuestListConfig', $event); |
||
28 | } |
||
29 | } |
||
30 |