Skip to content

Commit

Permalink
Add Support for Custom Pages Without adding to navigation for Space
Browse files Browse the repository at this point in the history
  • Loading branch information
gevorgmansuryan committed Jun 21, 2023
1 parent b938074 commit 80bfe5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/ContainerPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class ContainerPage extends Page implements Searchable
public static function getDefaultTargets()
{
return [
['id' => self::NAV_CLASS_SPACE_NAV , 'name' => Yii::t('CustomPagesModule.base', 'Space Navigation')]
['id' => self::NAV_CLASS_SPACE_NAV , 'name' => Yii::t('CustomPagesModule.base', 'Space Navigation')],
['id' => self::NAV_CLASS_EMPTY, 'name' => Yii::t('CustomPagesModule.base', 'Without adding to navigation (Direct link)')],
];
}

Expand Down

0 comments on commit 80bfe5c

Please sign in to comment.