Mercurial > hg > rr-repo
view sites/all/modules/ctools/ctools_plugin_example/help/Relationships--Letting-one-context-take-us-to-another.html @ 0:ff03f76ab3fe
initial version
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Wed, 21 Aug 2013 18:51:11 +0100 |
parents | |
children |
line wrap: on
line source
<div id="node-15" class="node"> <div class="content clear-block"> <p>Often a single data type can lead us to other data types. For example, a node has a user (the author) and the user has data associated with it.</p> <p>A relationship plugin allows this kind of data to be accessed. </p> <p>An example relationship plugin is provided in plugins/relationships/relcontext_from_simplecontext.inc. It looks at a simplecontext (which we got from an argument) and builds an (artificial) "relcontext" from that.</p> </div> <div class="clear-block"> <div class="meta"> </div> </div> </div>