function DateField::__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\d6

Code

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);
}

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