summaryrefslogtreecommitdiff
path: root/sites/all/modules/ctools/ctools_plugin_example/help/Relationships--Letting-one-context-take-us-to-another.html
blob: 7691245adb5345691ce093339171103dade288c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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>