src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/BasicDefinitionBuilder.php
private function getOrCreateBasicDefinition(IMetaModelDataDefinition $container)
    {
        if ($container->hasBasicDefinition()) {
            return $container->getBasicDefinition();
        }
        $config = new DefaultBasicDefinition();
        $container->setBasicDefinition($config);

        return $config;
    }
private function getOrCreateBasicDefinition(IMetaModelDataDefinition $container)
    {
        if ($container->hasBasicDefinition()) {
            return $container->getBasicDefinition();
        }
        $config = new DefaultBasicDefinition();
        $container->setBasicDefinition($config);

        return $config;
    }
Get or create the basic definition.

@param IMetaModelDataDefinition $container The definition being built.

@return BasicDefinitionInterface