Add Metadata to module OAI_PMH

Hi!

I am trying to add a Metadata format to module OAI-PMH and are adding it, “ksamsok”, to the config file:
/config/module.config.php and

     'factories' => [
            OaiPmh\Metadata\CdwaLite::class => Service\OaiPmh\Metadata\MetadataFormatFactory::class,
            OaiPmh\Metadata\Mets::class => Service\OaiPmh\Metadata\MetadataFormatFactory::class,
            OaiPmh\Metadata\Mods::class => Service\OaiPmh\Metadata\MetadataFormatFactory::class,
            OaiPmh\Metadata\OaiDc::class => Service\OaiPmh\Metadata\MetadataFormatFactory::class,
            OaiPmh\Metadata\OaiDcterms::class => Service\OaiPmh\Metadata\MetadataFormatFactory::class,
            OaiPmh\Metadata\SimpleXml::class => Service\OaiPmh\Metadata\MetadataFormatFactory::class,
            OaiPmh\Metadata\Ksamsok::class => Service\OaiPmh\Metadata\MetadataFormatFactory::class,
        ],
        'aliases' => [
            'cdwalite' => OaiPmh\Metadata\CdwaLite::class,
            'mets' => OaiPmh\Metadata\Mets::class,
            'mods' => OaiPmh\Metadata\Mods::class,
            'oai_dc' => OaiPmh\Metadata\OaiDc::class,
            'oai_dcterms' => OaiPmh\Metadata\OaiDcterms::class,
            'simple_xml' => OaiPmh\Metadata\SimpleXml::class,
            'ksamsok' => OaiPmh\Metadata\Ksamsok::class,

            'oai_dc',
            'cdwalite',
            'mets',
            'mods',
            'oai_dcterms',
            'simple_xml',
            'ksamsok',

   'oaipmhrepository_generic_dcterms' => [
            // Of course dcterms is not included.
            'oai_dc',
            'mets',
            'cdwalite',
            'mods',
            'simple_xml',
            'ksamsok',

Also adding a copy of OaiDcterms.php to Ksamsok.php to /src/OaiPmh/Metadata

But “ksamsok” as an alternative doesn’t show up in the config for the module?

What am I missing?

Thanks and best!

//Staffan

Just update the constant in the class:

const METADATA_PREFIX = 'ksamsok';