diff --git a/media.module b/media.module index 4ef9f00..100e79f 100644 --- a/media.module +++ b/media.module @@ -85,6 +85,8 @@ function media_entity_info_alter(&$entity_info) { $entity_info['file']['view modes']['media_small'] = array('label' => t('Small'), 'custom settings' => TRUE); $entity_info['file']['view modes']['media_large'] = array('label' => t('Large'), 'custom settings' => TRUE); $entity_info['file']['view modes']['media_original'] = array('label' => t('Original'), 'custom settings' => TRUE); + + $entity_info['file']['translation']['entity_translation']['path schemes']['media'] = array('edit path' => 'media/%file/edit/%ctools_js'); } /**