panels_ipe.pipelines.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * @file
  4. * Bulk export of panels_layouts objects generated by Bulk export module.
  5. */
  6. /**
  7. * Implements hook_default_panels_renderer_pipeline().
  8. */
  9. function panels_ipe_default_panels_renderer_pipeline() {
  10. $pipelines = array();
  11. $pipeline = new stdClass;
  12. $pipeline->disabled = FALSE; /* Edit this to true to make a default pipeline disabled initially */
  13. $pipeline->api_version = 1;
  14. $pipeline->name = 'ipe';
  15. $pipeline->admin_title = t('In-Place Editor');
  16. $pipeline->admin_description = t('Allows privileged users to update and rearrange the content while viewing this panel.');
  17. $pipeline->weight = 0;
  18. $pipeline->settings = array(
  19. 'renderers' => array(
  20. 0 => array(
  21. 'access' => array(
  22. 'plugins' => array(
  23. 0 => array(
  24. 'name' => 'perm',
  25. 'settings' => array(
  26. 'perm' => 'use panels in place editing',
  27. ),
  28. 'context' => 'logged-in-user',
  29. ),
  30. ),
  31. 'logic' => 'and',
  32. ),
  33. 'renderer' => 'ipe',
  34. 'options' => array(),
  35. ),
  36. ),
  37. );
  38. $pipelines[$pipeline->name] = $pipeline;
  39. return $pipelines;
  40. }