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

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

        $event->setHtml($value);
        $event->stopPropagation();
    }
public function update ( $ event , $ value ) { if ( null === $ value ) { return ; } $ event -> setHtml ( $ value ) ; $ event -> stopPropagation ( ) ; }
Set the HTML code for the button.

@param GetPasteButtonEvent $event The event being emitted.
@param string              $value The value returned by the callback.

@return void
Set the HTML code for the button .