src/Contao/Callback/ModelOptionsCallbackListener.php
public function update($event, $value)
    {
        if (null === $value) {
            return;
        }

        $event->setOptions($value);
        $event->stopPropagation();
    }
public function update($event, $value)
    {
        if (null === $value) {
            return;
        }

        $event->setOptions($value);
        $event->stopPropagation();
    }
public function update ( $ event , $ value ) { if ( null === $ value ) { return ; } $ event -> setOptions ( $ value ) ; $ event -> stopPropagation ( ) ; }
Update the options list in the event.

@param GetPropertyOptionsEvent $event The event being emitted.
@param array                   $value The options array.

@return void
Update the options list in the event .