Skip to content

Instantly share code, notes, and snippets.

View jesperveldhuizen's full-sized avatar

Jesper Veldhuizen jesperveldhuizen

View GitHub Profile
@jesperveldhuizen
jesperveldhuizen / Dropdown.php
Last active January 26, 2019 09:36
Sulu custom dropdown content ty-e
<?php
namespace AppBundle\Sulu\Content\Type;
use Sulu\Component\Content\Compat\PropertyInterface;
use Sulu\Component\Content\Compat\PropertyParameter;
use Sulu\Component\Content\SimpleContentType;
/**
* ContentType for a dropdown and selecting one option.