src/CoreBundle/EventListener/DcGeneral/Table/DcaSetting/RichTextOptionListener.php
public function handle(GetPropertyOptionsEvent $event)
    {
        if (!($this->wantToHandle($event) && ($event->getPropertyName() === 'rte'))) {
            return;
        }

        $configs = [];
        // Delete 'be_' prefix from keys.
        foreach ($this->templateList->getTemplatesForBase('be_tiny') as $key => $value) {
            $configs[substr($key, 3)] = $value;
        }

        $event->setOptions($configs);
    }
public function handle(GetPropertyOptionsEvent $event)
    {
        if (!($this->wantToHandle($event) && ($event->getPropertyName() === 'rte'))) {
            return;
        }

        $configs = [];
        // Delete 'be_' prefix from keys.
        foreach ($this->templateList->getTemplatesForBase('be_tiny') as $key => $value) {
            $configs[substr($key, 3)] = $value;
        }

        $event->setOptions($configs);
    }
Retrieve the options for the attributes.

@param GetPropertyOptionsEvent $event The event.

@return void