Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array (
- 'rules' =>
- array (
- 'rules_3' =>
- array (
- '#type' => 'rule',
- '#set' => 'event_node_insert',
- '#label' => 'Nach Speichern Nachricht (und dann alle Minute)',
- '#active' => 1,
- '#weight' => '0',
- '#categories' =>
- array (
- ),
- '#status' => 'custom',
- '#conditions' =>
- array (
- ),
- '#actions' =>
- array (
- 0 =>
- array (
- '#weight' => 0,
- '#info' =>
- array (
- 'arguments' =>
- array (
- 'node' =>
- array (
- 'label' => 'node',
- 'type' => 'node',
- ),
- ),
- 'label' => 'Message für node',
- 'status' => 'custom',
- 'categories' =>
- array (
- 0 => 'mfn',
- ),
- 'module' => 'Rule Sets',
- 'base' => 'rules_action_invoke_set',
- 'set' => 'rules_mfn',
- ),
- '#name' => 'rules_action_invoke_set_rules_mfn',
- '#settings' =>
- array (
- '#argument map' =>
- array (
- 'node' => 'node',
- ),
- ),
- '#type' => 'action',
- ),
- ),
- '#version' => 6003,
- ),
- 'rules_1' =>
- array (
- '#type' => 'rule',
- '#set' => 'rules_mfn',
- '#label' => 'Sende Nachricht',
- '#active' => 1,
- '#weight' => '0',
- '#categories' =>
- array (
- ),
- '#status' => 'custom',
- '#conditions' =>
- array (
- ),
- '#actions' =>
- array (
- 1 =>
- array (
- '#weight' => -2,
- '#info' =>
- array (
- 'module' => 'Rules',
- 'base' => 'rules_action_save_variable',
- 'label' => 'Add a new date variable',
- 'arguments' =>
- array (
- 'var_name' =>
- array (
- 'type' => 'value',
- 'default value' => 'date',
- ),
- 'date' =>
- array (
- 'type' => 'date',
- 'label' => 'date',
- ),
- ),
- 'new variables' =>
- array (
- 'date' =>
- array (
- 'type' => 'date',
- 'label' => 'Added date',
- ),
- ),
- ),
- '#name' => 'rules_add_var_date',
- '#settings' =>
- array (
- 'date' => '+1 second',
- '#argument map' =>
- array (
- 'date' => 'date',
- ),
- ),
- '#type' => 'action',
- ),
- 0 =>
- array (
- '#weight' => 0,
- '#type' => 'action',
- '#settings' =>
- array (
- 'from' => '',
- 'subject' => 'Regelmäßige Nachricht',
- 'message' => 'Das ist eine Testnachricht [date:site-date]',
- '#eval input' =>
- array (
- 'token_rules_input_evaluator' =>
- array (
- 'message' =>
- array (
- 0 => 'date',
- ),
- ),
- ),
- ),
- '#name' => 'rules_action_mail',
- '#info' =>
- array (
- 'label' => 'Send a mail to an arbitrary mail address',
- 'module' => 'System',
- 'eval input' =>
- array (
- 0 => 'subject',
- 1 => 'message',
- 2 => 'from',
- 3 => 'to',
- ),
- ),
- ),
- ),
- '#version' => 6003,
- ),
- 'rules_2' =>
- array (
- '#type' => 'rule',
- '#set' => 'rules_mfn',
- '#label' => 'Ruleset in 1Minute nochmal ausführen',
- '#active' => 1,
- '#weight' => '1',
- '#categories' =>
- array (
- ),
- '#status' => 'custom',
- '#conditions' =>
- array (
- ),
- '#actions' =>
- array (
- 0 =>
- array (
- '#weight' => 0,
- '#type' => 'action',
- '#settings' =>
- array (
- 'task_identifier' => 'mes_[node:nid]',
- 'task_date' => '+1 minute',
- '#argument map' =>
- array (
- 'node' => 'node',
- ),
- '#eval input' =>
- array (
- 'token_rules_input_evaluator' =>
- array (
- 'task_identifier' =>
- array (
- 0 => 'node',
- ),
- ),
- ),
- ),
- '#name' => 'rules_action_schedule_set_rules_mfn',
- '#info' =>
- array (
- 'arguments' =>
- array (
- 'task_identifier' =>
- array (
- 'type' => 'string',
- 'label' => 'Identifier',
- 'description' => 'User provided string to identify the task. Existing tasks for this rule set with the same identifier will be replaced',
- ),
- 'task_date' =>
- array (
- 'type' => 'date',
- 'label' => 'Scheduled evaluation date',
- ),
- 'node' =>
- array (
- 'label' => 'node',
- 'type' => 'node',
- ),
- ),
- 'label' => 'Schedule Message für node',
- 'status' => 'custom',
- 'categories' =>
- array (
- 0 => 'mfn',
- ),
- 'module' => 'Rule Scheduler',
- 'base' => 'rules_scheduler_action',
- 'set' => 'rules_mfn',
- ),
- ),
- ),
- '#version' => 6003,
- ),
- ),
- 'rule_sets' =>
- array (
- 'rules_mfn' =>
- array (
- 'arguments' =>
- array (
- 'node' =>
- array (
- 'label' => 'node',
- 'type' => 'node',
- ),
- ),
- 'label' => 'Message für node',
- 'status' => 'custom',
- 'categories' =>
- array (
- 0 => 'mfn',
- ),
- ),
- ),
- )
Advertisement
Add Comment
Please, Sign In to add comment