forked from kitpages/KitpagesCmsBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKitpagesCmsEvents.php
74 lines (54 loc) · 2.42 KB
/
KitpagesCmsEvents.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
<?php
namespace Kitpages\CmsBundle;
final class KitpagesCmsEvents
{
////
// block events
////
const afterBlockModify = 'kitpages.cms.block.after.modify';
const onBlockPublish = 'kitpages.cms.block.on.publish';
const afterBlockPublish = 'kitpages.cms.block.after.publish';
const onBlockDelete = 'kitpages.cms.block.on.delete';
const afterBlockDelete = 'kitpages.cms.block.after.delete';
////
// zone events
////
const onBlockMove = 'kitpages.cms.zone.on.block_move';
const afterBlockMove = 'kitpages.cms.zone.after.block_move';
const onZonePublish = 'kitpages.cms.zone.on.publish';
const afterZonePublish = 'kitpages.cms.zone.after.publish';
const onZoneUnpublish = 'kitpages.cms.zone.on.unpublish';
const afterZoneUnpublish = 'kitpages.cms.zone.after.unpublish';
const onZoneDelete = 'kitpages.cms.zone.on.delete';
const afterZoneDelete = 'kitpages.cms.zone.after.delete';
////
// page events
////
const afterPageModify = 'kitpages.cms.page.after.modify';
const onPagePublish = 'kitpages.cms.page.on.publish';
const afterPagePublish = 'kitpages.cms.page.after.publish';
const onMultiplePagePublish = 'kitpages.cms.page.on.multiple_publish';
const afterMultiplePagePublish = 'kitpages.cms.page.after.multiple_publish';
const onPageUnpublish = 'kitpages.cms.page.on.unpublish';
const afterPageUnpublish = 'kitpages.cms.page.after.unpublish';
const onPageDelete = 'kitpages.cms.page.on.delete';
const afterPageDelete = 'kitpages.cms.page.after.delete';
const onPagePendingDelete = 'kitpages.cms.page.on.pending_delete';
const afterPagePendingDelete = 'kitpages.cms.page.after.pending_delete';
const onPageUnpendingDelete = 'kitpages.cms.page.on.unpending_delete';
const afterPageUnpendingDelete = 'kitpages.cms.page.after.unpending_delete';
////
// pagePublish events
////
const onModifyPagePublish = 'kitpages.cms.pagepublish.on.modify';
const afterModifyPagePublish = 'kitpages.cms.pagepublish.after.modify';
////
// nav events
////
const onNavMove = 'kitpages.cms.nav.on.move';
const afterNavMove = 'kitpages.cms.nav.after.move';
const onNavPublish = 'kitpages.cms.nav.on.publish';
const afterNavPublish = 'kitpages.cms.nav.after.publish';
const onNavUnpublish = 'kitpages.cms.nav.on.unpublish';
const afterNavUnpublish = 'kitpages.cms.nav.after.unpublish';
}