summaryrefslogtreecommitdiffstats
path: root/library/Icingadb/Widget/ItemList/CommentListItemMinimal.php
blob: 3c23ccd3778928e86989872a91a01fcca199824b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

/* Icinga DB Web | (c) 2020 Icinga GmbH | GPLv2 */

namespace Icinga\Module\Icingadb\Widget\ItemList;

use Icinga\Module\Icingadb\Common\ListItemMinimalLayout;

class CommentListItemMinimal extends BaseCommentListItem
{
    use ListItemMinimalLayout;

    protected function init(): void
    {
        parent::init();

        if ($this->list->isCaptionDisabled()) {
            $this->setCaptionDisabled();
        }
    }
}