You are here

function media_gallery_extra_media_destination in Media Gallery Extra 7

Determines the file directory destination relative to file system path.

1 call to media_gallery_extra_media_destination()
media_gallery_extra_node_view in ./media_gallery_extra.module
Implements hook_node_view().

File

./media_gallery_extra.module, line 104
Provides additional features and improvements for the media gallery module.

Code

function media_gallery_extra_media_destination($node) {
  $destination = variable_get('media_gallery_extra_root_directory', '');
  drupal_alter('media_gallery_extra_media_destination', $destination, $node);
  return trim($destination, '\\/');
}