Elgg  Version master
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  ],
22  [
23  'type' => 'object',
24  'subtype' => 'plugin',
25  'class' => \ElggPlugin::class,
26  ],
27  [
28  'type' => 'object',
29  'subtype' => 'file',
30  'class' => \ElggFile::class,
31  ],
32  [
33  'type' => 'object',
34  'subtype' => 'widget',
35  'class' => \ElggWidget::class,
36  ],
37  [
38  'type' => 'object',
39  'subtype' => 'comment',
40  'class' => \ElggComment::class,
41  'capabilities' => [
42  'commentable' => true,
43  'likable' => true,
44  'searchable' => true,
45  'river_emittable' => true,
46  ],
47  ],
48  [
49  'type' => 'object',
50  'subtype' => 'elgg_upgrade',
51  'class' => \ElggUpgrade::class,
52  ],
53  [
54  'type' => 'object',
55  'subtype' => 'admin_notice',
56  'class' => \ElggAdminNotice::class,
57  ],
58 ];