Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/content_types/user_context/user_signature.inc
1 1
<?php
2 2

  
3 3
/**
4
 * @file
4 5
 * Plugins are described by creating a $plugin array which will be used
5 6
 * by the system that includes this file.
6 7
 */
8

  
7 9
$plugin = array(
8 10
  'title' => t('User signature'),
9 11
  'icon' => 'icon_user.png',
......
31 33
}
32 34

  
33 35
/**
34
 * Display the administrative title for a panel pane in the drag & drop UI
36
 * Display the administrative title for a panel pane in the drag & drop UI.
35 37
 */
36 38
function ctools_user_signature_content_type_admin_title($subtype, $conf, $context) {
37 39
  return t('"@s" user signature', array('@s' => $context->identifier));
38 40
}
39 41

  
40 42
function ctools_user_signature_content_type_edit_form($form, &$form_state) {
41
  // provide a blank form so we have a place to have context setting.
43
  // Provide a blank form so we have a place to have context setting.
42 44
  return $form;
43 45
}

Formats disponibles : Unified diff