class NumberField
Same name in other branches
- 8.9.x core/modules/field/src/Plugin/migrate/field/d7/NumberField.php \Drupal\field\Plugin\migrate\field\d7\NumberField
- 8.9.x core/lib/Drupal/Core/Field/Plugin/migrate/field/d7/NumberField.php \Drupal\Core\Field\Plugin\migrate\field\d7\NumberField
- 10 core/modules/field/src/Plugin/migrate/field/d7/NumberField.php \Drupal\field\Plugin\migrate\field\d7\NumberField
- 11.x core/modules/field/src/Plugin/migrate/field/d7/NumberField.php \Drupal\field\Plugin\migrate\field\d7\NumberField
MigrateField plugin for Drupal 7 number fields.
Plugin annotation
@MigrateField(
id = "number_default",
type_map = {
"number_integer" = "integer",
"number_decimal" = "decimal",
"number_float" = "float",
},
core = {7},
source_module = "number",
destination_module = "core"
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate_drupal\Plugin\MigrateFieldInterface
- class \Drupal\field\Plugin\migrate\field\d7\NumberField extends \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase
- class \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate_drupal\Plugin\MigrateFieldInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of NumberField
File
-
core/
modules/ field/ src/ Plugin/ migrate/ field/ d7/ NumberField.php, line 22
Namespace
Drupal\field\Plugin\migrate\field\d7View source
class NumberField extends FieldPluginBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.