PDFLink-omeka-module/Module.php

30 lines
514 B
PHP
Raw Normal View History

2021-08-10 13:32:24 +02:00
<?php
namespace PDFLink;
use Omeka\Module\AbstractModule;
use Laminas\EventManager\SharedEventManagerInterface;
use Laminas\Mvc\MvcEvent;
class Module extends AbstractModule
{
const NAMESPACE = __NAMESPACE__;
const IMAGE_WIDTH = [
'25' => '25 %',
'50' => '50 %',
'75' => '75 %',
'100' => '100 %',
];
const ZOOM_TYPE = [
'' => '',
'zoom' => 'Touch / grab',
'wheelzoom' => 'Deep zooming',
];
public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
}