Loading...

Rules Mastery 63 -- Adding an event (passing by reference)

364 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Mar 16, 2012

This bonus screencast shows how you can pass an array by reference to Rules, thereby allowing the changes Rules makes to the array to have effect outside Rules. As seen in the screencast, this does not work perfectly, but it may still be good to know about this.

Note: When entities are passed to Rules by events, the entity is normally saved afterwards -- taking care of any changes. Thus, no pass-by-reference is required.

EXAMPLE CODE FOUND HERE: http://drupalbin.com/21017

(This video is a part of the training found at http://denver2012.drupal.org/content/....)

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...