FEATURE #1551: add method for deleting extra content

This commit is contained in:
Michal Kváček
2016-04-11 01:20:11 +02:00
parent 951a8314b7
commit 288b1043b5
3 changed files with 20 additions and 0 deletions
+11
View File
@@ -53,6 +53,17 @@ interface AppHandler
*/
public static function edit(Content &$content, Request $request, $revisionID);
/**
* Method called right after content page is marked as deleted
*
* This method is supposed to clean after "deleted" page.
*
* @param Content $content
*
* @return mixed
*/
public static function delete(Content $content);
/**
* Does given module manage content? Or is it just module with widgets/something internal/something absolutely else?
*