public function DateField::__construct in Drupal 8
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides PluginBase::__construct
File
- core/
modules/ datetime/ src/ Plugin/ migrate/ field/ d6/ DateField.php, line 31
Class
- DateField
- Plugin annotation @MigrateField( id = "date", type_map = { "date" = "datetime", "datestamp" = "timestamp", "datetime" = "datetime", }, core = {6}, source_module = "date", destination_module = "datetime", weight = 9999999, )
Namespace
Drupal\datetime\Plugin\migrate\field\d6Code
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
@trigger_error('DateField is deprecated in Drupal 8.4.x and will be removed before Drupal 9.0.x. Use \\Drupal\\datetime\\Plugin\\migrate\\field\\DateField instead.', E_USER_DEPRECATED);
parent::__construct($configuration, $plugin_id, $plugin_definition);
}