fsi-open/datagrid-bundle — pull request #60 by chives (2014-10-09 12:59:46+00:00)
Title: [PoC] DataGrid yml configurations allow imports

This PR solves #43 with some differences. This implementation uses https://github.com/symfony/config and https://github.com/symfony/HttpKernel to locate configuration files. It allows only two formats of imports:
```yml
imports:
- { resource: datagrid_extension.yml } # it will search for datagrid_extension.yml in the same folder as the current configuration file.
- { resource: FSiDemoBundle:datagrid_extenion.yml } # it will search for configuration in src/FSi/DemoBundle/Resources/config/datagrid/datagrid_extension.yml
```
However thanks to the ``\Symfony\Component\HttpKernel\Kernel.php::locateResource()`` method it is also possible to overwrite datagrid configurations from different bundles in ``app/Resources`` folder as easy as any other resources in Symfony 2 application.

Another benefit of this implementation is that it is possible to load datagrid configuration directly from specific bundle when creating datagrid:
```
$dataGrid = $dataGridFactory->createDataGrid('FSiDemoBundle:datagrid') # it will search for configuration in src/FSi/DemoBundle/Resources/config/datagrid/datagrid.yml
```