NumberField.php

Same filename in other branches
  1. 8.9.x core/modules/field/src/Plugin/migrate/field/d7/NumberField.php
  2. 8.9.x core/lib/Drupal/Core/Field/Plugin/migrate/field/d7/NumberField.php
  3. 10 core/modules/field/src/Plugin/migrate/field/d7/NumberField.php
  4. 11.x core/modules/field/src/Plugin/migrate/field/d7/NumberField.php

Namespace

Drupal\field\Plugin\migrate\field\d7

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

Title Deprecated Summary
NumberField MigrateField plugin for Drupal 7 number fields.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.