vendor/ipl/web/src/Layout/DetailedItemTableLayout.php
raw| 1 | <?php |
| 2 | |
| 3 | namespace ipl\Web\Layout; |
| 4 | |
| 5 | use ipl\Html\Attributes; |
| 6 | |
| 7 | class DetailedItemTableLayout extends ItemTableLayout |
| 8 | { |
| 9 | public const NAME = 'detailed'; |
| 10 | |
| 11 | protected function createAttributes(Attributes $attributes): void |
| 12 | { |
| 13 | parent::createAttributes($attributes); |
| 14 | |
| 15 | $attributes->get('class') |
| 16 | ->removeValue('default-item-layout') |
| 17 | ->addValue('detailed-item-layout'); |
| 18 | } |
| 19 | } |