To get started

  • pick your actions from below, create an issue for it and edit the list to reference the issue
  • look at the \Drupal\node\Plugin\Action\PublishNode class (a core action)

data.rules.inc

entity.rules.inc

node.rules.inc

  • node_publish_action', 'node_unpublish_action', 'node_make_sticky_action', 'node_make_unsticky_action', 'node_promote_action', 'node_unpromote_action - those are covered in Core already

path.rules.inc

php.rules.inc -> Execute custom PHP code (removed)

rules_core.rules.inc -> ?

system.rules.inc

user.rules.inc

Comments

rinasek’s picture

Issue summary: View changes
rinasek’s picture

Issue summary: View changes
rinasek’s picture

Issue summary: View changes
dasjo’s picture

Status: Active » Postponed

requires usable actions system to be implemented first

dasjo’s picture

fubhy’s picture

Status: Postponed » Active
Torenware’s picture

Issue summary: View changes

Added "Send Mail" to the actions covered.

fago’s picture

Issue summary: View changes
fago’s picture

Issue summary: View changes
mfernea’s picture

Issue summary: View changes
stevepurkiss’s picture

Issue summary: View changes
mirceatihu’s picture

Issue summary: View changes
rteijeiro’s picture

Issue summary: View changes
m1r1k’s picture

Issue summary: View changes
icanblink’s picture

Issue summary: View changes
mariancalinro’s picture

Issue summary: View changes
m1r1k’s picture

Issue summary: View changes
dasjo’s picture

Issue tags: +Drupalaton 2014
kalman.hosszu’s picture

Issue summary: View changes
fago’s picture

I've just pushed a RulesIntegrationTestBase into the repo, which we can/should now leverage for all our tests. -> This solves some of the mocking problems some of you ran into. Just merge in recent changes into your branches and look at DataComparisonTest for an example.

dasjo’s picture

Issue summary: View changes

completed list of actions to be ported

stevepurkiss’s picture

I've just noticed naming of Actions do not follow the standards set by the Conditions and need to be swapped around.

Conditions correctly have the operand first then the operation:

EntityIsOfBundle.php
EntityIsOfType.php
NodeIsPromoted.php
NodeIsPublished.php

Current Actions have the operation first, here's a list of suggested changes:

CreateNodePathAlias.php -> NodePathAliasCreate.php
CreatePathAlias.php -> PathAliasCreate.php
DeleteEntity.php -> EntityDelete.php
SaveEntity.php -> EntitySave.php
stevepurkiss’s picture

Issue summary: View changes
stevepurkiss’s picture

Issue summary: View changes
stevepurkiss’s picture

Issue summary: View changes
dasjo’s picture

Issue summary: View changes
dasjo’s picture

Issue tags: +sprint, +Novice
fago’s picture

kalman.hosszu’s picture

Issue summary: View changes
dasjo’s picture

Issue tags: +Contributor
dasjo’s picture

Issue tags: +SprintWeekend2015
dasjo’s picture

Issue summary: View changes
fago’s picture

Issue summary: View changes
penyaskito’s picture

Issue summary: View changes
penyaskito’s picture

Issue summary: View changes
nlisgo’s picture

Issue summary: View changes
a.milkovsky’s picture

Issue summary: View changes
a.milkovsky’s picture

Issue summary: View changes
dasjo’s picture

Issue summary: View changes