Project

General

Profile

Revision 56aebcb7

Added by Assos Assos about 8 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/entityreference/entityreference.migrate.inc
1 1
<?php
2

  
3 2
/**
4 3
 * @file
5 4
 * Support for processing entity reference fields in Migrate.
6 5
 */
7 6

  
8 7
/**
9
 * Implement hook_migrate_api().
8
 * Implements hook_migrate_api().
10 9
 */
11 10
function entityreference_migrate_api() {
12 11
  return array(
......
15 14
  );
16 15
}
17 16

  
17
/**
18
 * Extended class for handling entityreference fields.
19
 */
18 20
class MigrateEntityReferenceFieldHandler extends MigrateSimpleFieldHandler {
21

  
22
  /**
23
   * Constructor.
24
   */
19 25
  public function __construct() {
20 26
    parent::__construct(array(
21 27
      'value_key' => 'target_id',

Also available in: Unified diff