generated from filamentphp/plugin-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathfilament-comments.php
76 lines (63 loc) · 1.6 KB
/
filament-comments.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
return [
/*
* Whether or not user avatars should be displayed next to comments.
*/
'display_avatars' => true,
/*
* The icons that are used in the comments component.
*/
'icons' => [
'action' => 'heroicon-s-chat-bubble-left-right',
'delete' => 'heroicon-s-trash',
'empty' => 'heroicon-s-chat-bubble-left-right',
],
/*
* The comment model to be used
*/
'comment_model' => \Parallax\FilamentComments\Models\FilamentComment::class,
/*
* The policy that will be used to authorize actions against comments.
*/
'model_policy' => \Parallax\FilamentComments\Policies\FilamentCommentPolicy::class,
/*
* The number of days after which soft-deleted comments should be deleted.
*
* Set to null if no comments should be deleted.
*/
'prune_after_days' => 30,
/*
* Options: 'rich', 'markdown'
*/
'editor' => 'rich',
/*
* The rich editor toolbar buttons that are available to users.
*/
'toolbar_buttons' => [
'blockquote',
'bold',
'bulletList',
'codeBlock',
'italic',
'link',
'orderedList',
'redo',
'strike',
'underline',
'undo',
],
/*
* The attribute used to display the user's name.
*/
'user_name_attribute' => 'name',
/*
* Authenticatable model class
*
* @deprecated
*/
'authenticatable' => \App\Models\User::class,
/*
* The name of the table where the comments are stored.
*/
'table_name' => 'filament_comments',
];