You are here

function rh_file_rabbit_hole in Rabbit Hole 7.2

Implements hook_rabbit_hole().

File

modules/rh_file/rh_file.module, line 13
Main module file for Rabbit Hole files module.

Code

function rh_file_rabbit_hole() {
  return array(
    'rh_file' => array(
      'entity type' => 'file',
      'base table' => 'file_managed',
      'view path' => 'file/%',
    ),
  );
}