Elgg  Version 7.1
entities.php
Go to the documentation of this file.
1 <?php
2 return [
3  [
4  'type' => 'user',
5  'subtype' => 'user',
6  'class' => \ElggUser::class,
7  'capabilities' => [
8  'searchable' => true,
9  'river_emittable' => true,
10  ],
11  ],
12  [
13  'type' => 'group',
14  'subtype' => 'group',
15  'class' => \ElggGroup::class,
16  ],
17  [
18  'type' => 'site',
19  'subtype' => 'site',
20  'class' => \ElggSite::class,
21  'capabilities' => [
22  'river_emittable' => true,
23  ],
24  ],
25  [
26  'type' => 'object',
27  'subtype' => 'plugin',
28  'class' => \ElggPlugin::class,
29  ],
30  [
31  'type' => 'object',
32  'subtype' => 'file',
33  'class' => \ElggFile::class,
34  ],
35  [
36  'type' => 'object',
37  'subtype' => 'widget',
38  'class' => \ElggWidget::class,
39  ],
40  [
41  'type' => 'object',
42  'subtype' => 'comment',
43  'class' => \ElggComment::class,
44  'capabilities' => [
45  'commentable' => true,
46  'likable' => true,
47  'searchable' => true,
48  'river_emittable' => true,
49  ],
50  ],
51  [
52  'type' => 'object',
53  'subtype' => 'elgg_upgrade',
54  'class' => \ElggUpgrade::class,
55  ],
56  [
57  'type' => 'object',
58  'subtype' => 'admin_notice',
59  'class' => \ElggAdminNotice::class,
60  ],
61 ];