code: private function getOrCreateBasicDefinition(IMetaModelDataDefinition $container)
      {
          if ($container->hasBasicDefinition()) {
              return $container->getBasicDefinition();
          }
          $config = new DefaultBasicDefinition();
          $container->setBasicDefinition($config);
  
          return $config;
      }
docs: Get or create the basic definition.
  
  @param IMetaModelDataDefinition $container The definition being built.
  
  @return BasicDefinitionInterface