server/apps/files_trashbin/appinfo/app.php
Vincent Petry 88ebb15f1d Added navigation manager in files app for the sidebar
Apps can now register navigation items into the sidebar of the files app.
For every sidebar item there is a container.
The container's content is rendered based on the script name given at
registration time.
2014-05-15 17:51:04 +02:00

14 lines
280 B
PHP

<?php
$l = OC_L10N::get('files_trashbin');
// register hooks
\OCA\Files_Trashbin\Trashbin::registerHooks();
\OCA\Files\App::getNavigationManager()->add(
array(
"appname" => 'files_trashbin',
"script" => 'index.php',
"order" => 1,
"name" => $l->t('Deleted files')
)
);