class NumberField
Same name in this branch
- 8.9.x core/modules/field/src/Plugin/migrate/field/d7/NumberField.php \Drupal\field\Plugin\migrate\field\d7\NumberField
Same name in other branches
- 9 core/modules/field/src/Plugin/migrate/field/d7/NumberField.php \Drupal\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.
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\Core\Field\Plugin\migrate\field\d7\NumberField extends \Drupal\field\Plugin\migrate\field\d7\NumberField
- 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
Deprecated
in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\field\Plugin\migrate\field\d7\NumberField instead.
See also
https://www.drupal.org/node/3009286
1 file declares its use of NumberField
- MigrateFieldDeprecationTest.php in core/
tests/ Drupal/ Tests/ Core/ Field/ MigrateFieldDeprecationTest.php
File
-
core/
lib/ Drupal/ Core/ Field/ Plugin/ migrate/ field/ d7/ NumberField.php, line 15
Namespace
Drupal\Core\Field\Plugin\migrate\field\d7View source
class NumberField extends NumberFieldNew {
/**
* {@inheritdoc}
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
@trigger_error(__NAMESPACE__ . '\\NumberField is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \\Drupal\\field\\Plugin\\migrate\\field\\d7\\NumberField instead. See https://www.drupal.org/node/3009286', E_USER_DEPRECATED);
parent::__construct($configuration, $plugin_id, $plugin_definition);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
NumberField::__construct | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.