1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-01-22 18:52:10 +01:00

30 lines
967 B
PHP
Raw Normal View History

2011-08-15 22:05:07 +02:00
<?php
2011-08-15 22:05:07 +02:00
/**
* ownCloud - bookmarks
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
* @author Marvin Thomas Rabe <mrabe@marvinrabe.de>
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
* @author Stefan Klemm <mail@stefan-klemm.de>
* @copyright (c) 2011, Marvin Thomas Rabe
* @copyright (c) 2011, Arthur Schiwon
* @copyright (c) 2014, Stefan Klemm
*/
2011-08-15 22:05:07 +02:00
namespace OCA\Bookmarks\AppInfo;
2015-10-13 09:45:26 +02:00
$navigationEntry = function () {
return [
'id' => 'bookmarks',
'order' => 10,
'name' => \OC::$server->getL10N('bookmarks')->t('Bookmarks'),
'href' => \OC::$server->getURLGenerator()->linkToRoute('bookmarks.web_view.index'),
'icon' => \OC::$server->getURLGenerator()->imagePath('bookmarks', 'bookmarks.svg'),
];
};
\OC::$server->getNavigationManager()->add($navigationEntry);
2011-08-15 22:05:07 +02:00
2014-12-02 17:58:16 +01:00
\OC::$server->getSearch()->registerProvider('OCA\Bookmarks\Controller\Lib\Search', array('apps' => array('bookmarks')));