src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/DataProviderBuilder.php
private function getDataProviderDefinition(IMetaModelDataDefinition $container)
    {
        // Parse data provider.
        if ($container->hasDataProviderDefinition()) {
            return $container->getDataProviderDefinition();
        }

        $config = new DefaultDataProviderDefinition();
        $container->setDataProviderDefinition($config);
        return $config;
    }
private function getDataProviderDefinition(IMetaModelDataDefinition $container)
    {
        // Parse data provider.
        if ($container->hasDataProviderDefinition()) {
            return $container->getDataProviderDefinition();
        }

        $config = new DefaultDataProviderDefinition();
        $container->setDataProviderDefinition($config);
        return $config;
    }
Retrieve the data provider definition.

@param IMetaModelDataDefinition $container The data container.

@return DataProviderDefinitionInterface|DefaultDataProviderDefinition