You are here

function elfinder_theme in elFinder file manager 7

Same name and namespace in other branches
  1. 8.2 elfinder.module \elfinder_theme()
  2. 6.2 elfinder.module \elfinder_theme()
  3. 6 elfinder.module \elfinder_theme()
  4. 7.3 elfinder.module \elfinder_theme()
  5. 7.2 elfinder.module \elfinder_theme()

Implements hook_theme().

File

./elfinder.module, line 337

Code

function elfinder_theme() {
  $theme['elfinder_page'] = array(
    'template' => 'elfinder-page',
    'arguments' => array(
      'libPath' => '/' . elfinder_lib_path(),
    ),
    'path' => drupal_get_path('module', 'elfinder') . '/tpl',
  );
  $theme['elfinder_page_backend'] = array(
    'template' => 'elfinder-page-backend',
    'arguments' => array(
      'libPath' => '/' . elfinder_lib_path(),
    ),
    'path' => drupal_get_path('module', 'elfinder') . '/tpl',
  );
  return $theme;
}