Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ public function xmd($text)
return $data->text;
}

public function registerPermissions()
{
return [
'mossadal.extendmarkdown.settings' => [
'tab' => 'ExtendMarkdown Plugin',
'label' => 'Access Settings'
],
];
}

/**
* Register the extended Markdown parser as a Twig filter.
*
Expand Down Expand Up @@ -89,6 +99,7 @@ public function registerSettings()
'icon' => 'icon-user-md',
'order' => 700,
'category' => SettingsManager::CATEGORY_CMS,
'permissions' => ['mossadal.extendmarkdown.settings']
]
];
}
Expand Down