code/Extensions/RemoteFileModalExtension.php
public function remoteEditForm()
    {
        $url = $this->getRequest()->requestVar('embedurl');
        $form = null;
        $form = Injector::inst()->get(RemoteFileFormFactory::class)
            ->getForm(
                $this->getOwner(),
                'remoteEditForm',
                ['type' => 'edit', 'url' => $url]
            );
        return $form;
    }
public function remoteEditForm()
    {
        $url = $this->getRequest()->requestVar('embedurl');
        $form = null;
        $form = Injector::inst()->get(RemoteFileFormFactory::class)
            ->getForm(
                $this->getOwner(),
                'remoteEditForm',
                ['type' => 'edit', 'url' => $url]
            );
        return $form;
    }
public function remoteEditForm ( ) { $ url = $ this -> getRequest ( ) -> requestVar ( 'embedurl' ) ; $ form = null ; $ form = Injector :: inst ( ) -> get ( RemoteFileFormFactory :: class ) -> getForm ( $ this -> getOwner ( ) , 'remoteEditForm' , [ 'type' => 'edit' , 'url' => $ url ] ) ; return $ form ; }
Form for editing a OEmbed object in the WYSIWYG, used by the InsertEmbedModal component

@return Form
Form for editing a OEmbed object in the WYSIWYG used by the InsertEmbedModal component