src/FormField/UploadImg.php
public function clearThumbnail($defaultThumbnail = null)
    {
        $action = $this->thumbnail->js();
        if (isset($defaultThumbnail)) {
            $action->attr('src', $defaultThumbnail);
        } else {
            $action->removeAttr('src');
        }
        $this->addJSAction($action);
    }
public function clearThumbnail($defaultThumbnail = null)
    {
        $action = $this->thumbnail->js();
        if (isset($defaultThumbnail)) {
            $action->attr('src', $defaultThumbnail);
        } else {
            $action->removeAttr('src');
        }
        $this->addJSAction($action);
    }
public function clearThumbnail ( $ defaultThumbnail = null ) { $ action = $ this -> thumbnail -> js ( ) ; if ( isset ( $ defaultThumbnail ) ) { $ action -> attr ( 'src' , $ defaultThumbnail ) ; } else { $ action -> removeAttr ( 'src' ) ; } $ this -> addJSAction ( $ action ) ; }
Clear the thumbnail src.
You can also supply a default thumbnail src.

@param null $defaultThumbnail
Clear the thumbnail src . You can also supply a default thumbnail src .