<?php
namespace Mapbender\DataSourceBundle;

use Mapbender\CoreBundle\Component\MapbenderBundle;

/**
 * DataSource Bundle.
 * y
 * @author Andriy Oblivantsev
 */
class MapbenderDataSourceBundle extends MapbenderBundle
{
    /**
     * @inheritdoc
     */
    public function getElements()
    {
        return array(
            'Mapbender\DataSourceBundle\Element\DataManagerElement',
            'Mapbender\DataSourceBundle\Element\QueryBuilderElement'
        );
    }

    /**
     * @inheritdoc
     */
    public function getManagerControllers()
    {
        $trans = $this->container->get('translator');
        return array(
            array(
                'weight' => 20,
                'title'  => $trans->trans("DataStores"),
                'route'  => 'mapbender_datasource_datastore_index',
                'routes' => array(
                    'mapbender_datasource_datastore',
                ),
            )
        );
    }
}

<?php
namespace Mapbender\DataSourceBundle;

use Mapbender\CoreBundle\Component\MapbenderBundle;

/**
 * DataSource Bundle.
 * y
 * @author Andriy Oblivantsev
 */
class MapbenderDataSourceBundle extends MapbenderBundle
{
    /**
     * @inheritdoc
     */
    public function getElements()
    {
        return array(
            'Mapbender\DataSourceBundle\Element\DataManagerElement',
            'Mapbender\DataSourceBundle\Element\QueryBuilderElement'
        );
    }

    ///**
    // * @inheritdoc
    // */
    //public function getManagerControllers()
    //{
    //    $trans = $this->container->get('translator');
    //    return array(
    //        array(
    //            'weight' => 20,
    //            'title'  => $trans->trans("DataStores"),
    //            'route'  => 'mapbender_datasource_datastore_index',
    //            'routes' => array(
    //                'mapbender_datasource_datastore',
    //            ),
    //        )
    //    );
    //}
}

Remove prototype manager controller routes
Remove prototype manager controller routes
