You are here

public function MigrateLinkFieldHandler::fields in Link 7

Implementation of MigrateFieldHandler::fields().

@codingStandardsIgnoreStart

Parameters

array $type: The field type.

array $instance: Instance info for the field.

Migration $migration: The migration context for the parent field. We can look at the mappings and determine which subfields are relevant.

Return value

array Array with values.

File

./link.migrate.inc, line 83

Class

MigrateLinkFieldHandler

Code

public function fields($type, $instance, $migration = NULL) {

  // @codingStandardsIgnoreEnd
  return array(
    'title' => t('Subfield: The link title attribute'),
    'attributes' => t('Subfield: The attributes for this link'),
    'language' => t('Subfield: The language for the field'),
  );
}