Add ability to use a link instead of a page #750 (#757)

Add ability to use a link instead of a page #750
This commit is contained in:
Nabeel S
2020-06-11 05:27:38 -07:00
committed by GitHub
parent e4b1c238f3
commit 420bd7e4ae
11 changed files with 200 additions and 27 deletions

View File

@@ -6,6 +6,11 @@ use App\Contracts\Enum;
class PageType extends Enum
{
public const HTML = 0;
public const MARKDOWN = 1;
public const PAGE = 0;
public const LINK = 1;
public static $labels = [
self::PAGE => 'Page',
self::LINK => 'Link',
];
}