stableversion-3.0
Last change
on this file was
4f375e3,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agrego el modulo panels
|
-
Propiedad mode establecida a
100644
|
File size:
1.2 KB
|
Ver. | Línea | |
---|
[4f375e3] | 1 | <?php |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * @file |
---|
| 5 | * Bulk export of panels_layouts objects generated by Bulk export module. |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | /** |
---|
| 9 | * Implementation of hook_default_panels_renderer_pipeline(). |
---|
| 10 | */ |
---|
| 11 | function panels_ipe_default_panels_renderer_pipeline() { |
---|
| 12 | $pipelines = array(); |
---|
| 13 | |
---|
| 14 | $pipeline = new stdClass; |
---|
| 15 | $pipeline->disabled = FALSE; /* Edit this to true to make a default pipeline disabled initially */ |
---|
| 16 | $pipeline->api_version = 1; |
---|
| 17 | $pipeline->name = 'ipe'; |
---|
| 18 | $pipeline->admin_title = t('In-Place Editor'); |
---|
| 19 | $pipeline->admin_description = t('Allows privileged users to update and rearrange the content while viewing this panel.'); |
---|
| 20 | $pipeline->weight = 0; |
---|
| 21 | $pipeline->settings = array( |
---|
| 22 | 'renderers' => array( |
---|
| 23 | 0 => array( |
---|
| 24 | 'access' => array( |
---|
| 25 | 'plugins' => array( |
---|
| 26 | 0 => array( |
---|
| 27 | 'name' => 'perm', |
---|
| 28 | 'settings' => array( |
---|
| 29 | 'perm' => 'use panels in place editing', |
---|
| 30 | ), |
---|
| 31 | 'context' => 'logged-in-user', |
---|
| 32 | ), |
---|
| 33 | ), |
---|
| 34 | 'logic' => 'and', |
---|
| 35 | ), |
---|
| 36 | 'renderer' => 'ipe', |
---|
| 37 | 'options' => array(), |
---|
| 38 | ), |
---|
| 39 | ), |
---|
| 40 | ); |
---|
| 41 | $pipelines[$pipeline->name] = $pipeline; |
---|
| 42 | |
---|
| 43 | return $pipelines; |
---|
| 44 | } |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.