Projet

Général

Profil

Révision 7e72b748

Ajouté par Assos Assos il y a plus de 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/ctools_plugin_example/plugins/content_types/simplecontext_content_type.inc
1 1
<?php
2 2

  
3

  
4 3
/**
5 4
 * @file
6 5
 * Sample ctools content type that takes advantage of context.
......
9 8
 * ctools content type can access and use context. Note that the simplecontext
10 9
 * can be either configured manually into a panel or it can be retrieved via
11 10
 * an argument.
12
 *
13 11
 */
14 12

  
15 13
/**
......
31 29
  'edit form' => 'simplecontext_content_type_edit_form',
32 30
  'admin title' => 'ctools_plugin_example_simplecontext_content_type_admin_title',
33 31

  
34
  // presents a block which is used in the preview of the data.
32
  // Presents a block which is used in the preview of the data.
35 33
  // Pn Panels this is the preview pane shown on the panels building page.
36 34
  'admin info' => 'ctools_plugin_example_simplecontext_content_type_admin_info',
37 35
  'category' => array(t('CTools Examples'), -9),
......
103 101
/**
104 102
 * 'Edit' callback for the content type.
105 103
 * This example just returns a form.
106
 *
107 104
 */
108 105
function simplecontext_content_type_edit_form($form, &$form_state) {
109 106
  $conf = $form_state['conf'];

Formats disponibles : Unified diff