src/Kunstmaan/MediaBundle/AdminList/MediaAdminListConfigurator.php
public function buildItemActions()
    {
        if ($this->request->get('_route') == 'KunstmaanMediaBundle_chooser_show_folder') {
            $this->addItemAction(new MediaSelectItemAction());
        } else {
            $this->addItemAction(new MediaEditItemAction());
            $this->addItemAction(new MediaDeleteItemAction($this->request->getRequestUri()));
        }
    }
public function buildItemActions()
    {
        if ($this->request->get('_route') == 'KunstmaanMediaBundle_chooser_show_folder') {
            $this->addItemAction(new MediaSelectItemAction());
        } else {
            $this->addItemAction(new MediaEditItemAction());
            $this->addItemAction(new MediaDeleteItemAction($this->request->getRequestUri()));
        }
    }
public function buildItemActions ( ) { if ( $ this -> request -> get ( '_route' ) == 'KunstmaanMediaBundle_chooser_show_folder' ) { $ this -> addItemAction ( new MediaSelectItemAction ( ) ) ; } else { $ this -> addItemAction ( new MediaEditItemAction ( ) ) ; $ this -> addItemAction ( new MediaDeleteItemAction ( $ this -> request -> getRequestUri ( ) ) ) ; } }
Add item actions buttons
Add item actions buttons