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/entity_context/entity_field_extra.inc
1 1
<?php
2 2

  
3
/**
4
 * @file
5
 */
6

  
3 7
$plugin = array(
4 8
  'title' => t('Entity extra field'),
5 9
  'defaults' => array('view_mode' => NULL),
......
119 123

  
120 124
  if (isset($entity->content[$field_name])) {
121 125
    // Build the content type block.
122
    $block = new stdClass();
126
    $block          = new stdClass();
123 127
    $block->module  = 'entity_field_extra';
124 128
    $block->content = $entity->content[$field_name];
125 129
    $block->delta   = $id;

Formats disponibles : Unified diff