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_links.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
  'single' => TRUE,
9 11
  'title' => t('User links'),
......
29 31
  $account = clone $context->data;
30 32
  $block = new stdClass();
31 33
  $block->module = 'user';
32
  $block->delta  = $account->uid;
34
  $block->delta = $account->uid;
33 35

  
34 36
  if (empty($account)) {
35 37
    $block->delta   = 'placeholder';

Formats disponibles : Unified diff