HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/eleo.komma.nl/app/Components/Types/Video.php
<?php


namespace App\Components\Types;

use Komma\KMS\Components\ComponentType\Types\Video as KMSVideo;
use Komma\KMS\Core\Attributes\OnOff;
use Komma\KMS\Core\Attributes\Seperator;
use Komma\KMS\Core\Attributes\Title;

class Video extends KMSVideo
{
    public function defineAttributesAndTabs()
    {
        parent::defineAttributesAndTabs();

        $this->addItems([
            (new Seperator()),
            (new Title())
                ->setLabelText(__('KMS::attributes/components.options')),
            (new OnOff())
                ->setLabelText('Maak rij \'Licht op donker\'')
                ->setReference( 'lightOnDark'),
        ]);

    }
}