3D-Renderer-omeka-module/Module.php

24 lines
425 B
PHP
Raw Normal View History

2021-04-04 17:47:14 +02:00
<?php
namespace Render3D;
use Omeka\Module\AbstractModule;
use Laminas\EventManager\SharedEventManagerInterface;
use Laminas\Mvc\MvcEvent;
class Module extends AbstractModule
{
const NAMESPACE = __NAMESPACE__;
const MODEL_TYPES = [
'gltf' => 'gLTF',
'obj' => 'OBJ',
'obj+mtl' => 'OBJ + MTL',
'json' => 'JSON',
];
public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
}