You are here

NumberField.php in Drupal 8

File

core/modules/field/src/Plugin/migrate/field/d7/NumberField.php
View source
<?php

namespace Drupal\field\Plugin\migrate\field\d7;

use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase;

/**
 * MigrateField plugin for Drupal 7 number fields.
 *
 * @MigrateField(
 *   id = "number_default",
 *   type_map = {
 *     "number_integer" = "integer",
 *     "number_decimal" = "decimal",
 *     "number_float" = "float",
 *   },
 *   core = {7},
 *   source_module = "number",
 *   destination_module = "core"
 * )
 */
class NumberField extends FieldPluginBase {

}

Classes

Namesort descending Description
NumberField MigrateField plugin for Drupal 7 number fields.