root / drupal7 / sites / all / modules / ctools / ctools_plugin_example / help / Access-Plugins--Determining-access-and-visibility.html @ 024de6ea
1 |
<div id="node-16" class="node"> |
---|---|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
<div class="content clear-block"> |
7 |
<p>We can use access plugins to determine access to a page or visibility of the panes in a page. Basically, we just determine access based on configuration settings and the various contexts that are available to us.</p> |
8 |
<p>The arbitrary example in plugins/access/arg_length.inc determines access based on the length of the simplecontext argument. You can configure whether access should be granted if the simplecontext argument is greater or less than some number.</p> |
9 |
</div>
|
10 |
|
11 |
<div class="clear-block"> |
12 |
<div class="meta"> |
13 |
</div>
|
14 |
|
15 |
</div>
|
16 |
|
17 |
</div>
|