Projet

Général

Profil

Paste
Télécharger (545 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / ctools / includes / context.plugin-type.inc @ 1e39edcb

1
<?php
2

    
3
/**
4
 * @file
5
 * Contains plugin type registration information for the context tool.
6
 *
7
 * Don't actually need to declare anything for these plugin types right now,
8
 * apart from the fact that they exist. So, an empty array.
9
 */
10

    
11
function ctools_context_plugin_type(&$items) {
12
  $items['contexts'] = array(
13
    'child plugins' => TRUE,
14
  );
15
  $items['arguments'] = array(
16
    'child plugins' => TRUE,
17
  );
18
  $items['relationships'] = array(
19
    'child plugins' => TRUE,
20
  );
21
  $items['access'] = array(
22
    'child plugins' => TRUE,
23
  );
24
}