File: D:/HostingSpaces/SBogers10/eleo.komma.nl/app/Components/Types/DoubleImage.php
<?php
namespace App\Components\Types;
use Komma\KMS\Components\ComponentType\Types\DoubleImage as KMSDoubleImage;
use Komma\KMS\Core\Attributes\OnOff;
use Komma\KMS\Core\Attributes\Seperator;
use Komma\KMS\Core\Attributes\Title;
class DoubleImage extends KMSDoubleImage
{
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'),
]);
}
}