apps/comments/lib/Activity/Extension.php 1 location
|
@@ 247-260 (lines=14) @@
|
| 244 |
|
* |
| 245 |
|
* @return array|false |
| 246 |
|
*/ |
| 247 |
|
public function getNavigation() { |
| 248 |
|
$l = $this->getL10N(); |
| 249 |
|
return [ |
| 250 |
|
'apps' => [ |
| 251 |
|
self::APP_NAME => [ |
| 252 |
|
'id' => self::APP_NAME, |
| 253 |
|
'icon' => 'icon-comment', |
| 254 |
|
'name' => (string) $l->t('Comments'), |
| 255 |
|
'url' => $this->URLGenerator->linkToRoute('activity.Activities.showList', ['filter' => self::APP_NAME]), |
| 256 |
|
], |
| 257 |
|
], |
| 258 |
|
'top' => [], |
| 259 |
|
]; |
| 260 |
|
} |
| 261 |
|
|
| 262 |
|
/** |
| 263 |
|
* The extension can check if a custom filter (given by a query string like filter=abc) is valid or not. |
apps/files_sharing/lib/Activity.php 1 location
|
@@ 425-438 (lines=14) @@
|
| 422 |
|
* |
| 423 |
|
* @return array|false |
| 424 |
|
*/ |
| 425 |
|
public function getNavigation() { |
| 426 |
|
$l = $this->getL10N(); |
| 427 |
|
return [ |
| 428 |
|
'apps' => [], |
| 429 |
|
'top' => [ |
| 430 |
|
self::FILTER_SHARES => [ |
| 431 |
|
'id' => self::FILTER_SHARES, |
| 432 |
|
'icon' => 'icon-share', |
| 433 |
|
'name' => (string) $l->t('File shares'), |
| 434 |
|
'url' => $this->URLGenerator->linkToRoute('activity.Activities.showList', ['filter' => self::FILTER_SHARES]), |
| 435 |
|
], |
| 436 |
|
], |
| 437 |
|
]; |
| 438 |
|
} |
| 439 |
|
|
| 440 |
|
/** |
| 441 |
|
* The extension can check if a custom filter (given by a query string like filter=abc) is valid or not. |