Skip to content

Commit

Permalink
Initialize module content class
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Aug 17, 2023
1 parent b8bc53b commit 480cfab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ public function getContentContainerTypes()
];
}

/**
* @inheritdoc
*/
public function getContentClasses(): array
{
return [File::class];
}

/**
* @inheritdoc
*/
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changelog
- Fix #180: Use icon `fa-unlock` for public files
- Fix #184: Display only published content files in the folder "Files from the stream"
- Fix #186: Rename conflicted not published folder/file on creating/uploading
- Fix #189: Initialize module content class

0.16.1 - May 1, 2023
--------------------
Expand Down

0 comments on commit 480cfab

Please sign in to comment.