comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:ff03f76ab3fe
1 <div id="node-15" class="node">
2
3
4
5
6 <div class="content clear-block">
7 <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>
8 <p>A relationship plugin allows this kind of data to be accessed. </p>
9 <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>
10 </div>
11
12 <div class="clear-block">
13 <div class="meta">
14 </div>
15
16 </div>
17
18 </div>