code: private function getDataProviderDefinition(IMetaModelDataDefinition $container)
      {
          // Parse data provider.
          if ($container->hasDataProviderDefinition()) {
              return $container->getDataProviderDefinition();
          }
  
          $config = new DefaultDataProviderDefinition();
          $container->setDataProviderDefinition($config);
          return $config;
      }
docs: Retrieve the data provider definition.
  
  @param IMetaModelDataDefinition $container The data container.
  
  @return DataProviderDefinitionInterface|DefaultDataProviderDefinition