omeka/Omeka — Issue #145: Apply filter to defaultDisplay()
Author: jimsafley
Created: 2012-01-25 22:48:52+00:00
State: open

Regarding this post:

http://omeka.org/forums/topic/file-download-link-text-option

It would be easy to apply a filter to Omeka_View_Helper_Media::defaultDisplay(). Something like:

```php
_linkToFile(null, $file, $options);
return apply_filters('file_default_display', $defaultDisplay, $file, $options);
}
```