for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MonsieurBiz\SyliusRichEditorPlugin\UiElement;
use MonsieurBiz\SyliusRichEditorPlugin\Form\Type\UiElement\GmapType;
class Gmap extends AbstractUiElement
{
protected $type = 'gmap';
// We have an image for our element, if you don't specify it, we will use a default one
public function getImage(): string
return '/bundles/monsieurbizsyliusricheditorplugin/images/ui_elements/gmap.png';
}
public function getFields(): array
return [
'gmap_link',
];
public function getFormClass(): string
return GmapType::class;