You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.4 KiB
57 lines
1.4 KiB
8 years ago
|
uuid: 3ef878c1-3187-4141-aba1-2aac5acc9366
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies:
|
||
|
module:
|
||
|
- islandora
|
||
|
- rules
|
||
|
enforced:
|
||
|
module:
|
||
|
- islandora
|
||
|
id: broadcast_create_event
|
||
|
label: 'Broadcast Create Event'
|
||
|
events:
|
||
|
-
|
||
|
event_name: 'rules_entity_insert:fedora_resource'
|
||
|
description: 'Broadcasts a ''Create'' event when a user creates a new FedoraResource.'
|
||
|
tags:
|
||
|
- ''
|
||
|
config_version: '3'
|
||
|
expression:
|
||
|
id: rules_rule
|
||
|
uuid: d25688b0-eef1-46b0-acf4-98a6d1ccd76a
|
||
|
conditions:
|
||
|
id: rules_and
|
||
|
uuid: 6648629a-0b52-4352-bb85-df2cbafb7db2
|
||
|
conditions: { }
|
||
|
actions:
|
||
|
id: rules_action_set
|
||
|
uuid: 957db51c-d055-4350-8caa-4ad773172e87
|
||
|
actions:
|
||
|
-
|
||
|
id: rules_action
|
||
|
uuid: d483f5bc-fd36-4d7c-baa4-66234b438d1a
|
||
|
context_values: { }
|
||
|
context_mapping:
|
||
|
entity: fedora_resource
|
||
|
user: '@user.current_user_context:current_user'
|
||
|
context_processors: { }
|
||
|
provides_mapping: { }
|
||
|
action_id: islandora_create_event_generator
|
||
|
-
|
||
|
id: rules_action
|
||
|
uuid: bbcd7317-2879-4961-a79d-5827fab4e194
|
||
|
context_values:
|
||
|
type: info
|
||
|
repeat: false
|
||
|
context_mapping:
|
||
|
message: event_message
|
||
|
context_processors:
|
||
|
type:
|
||
|
rules_tokens: { }
|
||
|
repeat:
|
||
|
rules_tokens: { }
|
||
|
provides_mapping: { }
|
||
|
action_id: rules_system_message
|
||
|
|