context.plugin-type.inc 545 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * @file
  4. * Contains plugin type registration information for the context tool.
  5. *
  6. * Don't actually need to declare anything for these plugin types right now,
  7. * apart from the fact that they exist. So, an empty array.
  8. */
  9. function ctools_context_plugin_type(&$items) {
  10. $items['contexts'] = array(
  11. 'child plugins' => TRUE,
  12. );
  13. $items['arguments'] = array(
  14. 'child plugins' => TRUE,
  15. );
  16. $items['relationships'] = array(
  17. 'child plugins' => TRUE,
  18. );
  19. $items['access'] = array(
  20. 'child plugins' => TRUE,
  21. );
  22. }