@trigger_error("The key 'trackLastImported' is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894",E_USER_DEPRECATED);
@trigger_error("Invalid migration dependencies for {$this->id()} is deprecated in drupal:10.1.0 and will cause an error in drupal:11.0.0. See https://www.drupal.org/node/3266691",E_USER_DEPRECATED);
}
}
/**
@@ -607,9 +588,6 @@ public function set($property_name, $value) {
@trigger_error("Invalid migration dependencies for {$this->id()} is deprecated in drupal:10.1.0 and will cause an error in drupal:11.0.0. See https://www.drupal.org/node/3266691",E_USER_DEPRECATED);
}
}
$this->{$property_name}=$value;
return$this;
@@ -655,47 +633,23 @@ public function mergeProcessOfProperty($property, array $process_of_property) {
return$this;
}
/**
* {@inheritdoc}
*/
publicfunctionisTrackLastImported(){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894',E_USER_DEPRECATED);
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894',E_USER_DEPRECATED);
@trigger_error('Calling Migration::getMigrationDependencies() without expanding the plugin IDs is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. In most cases, use getMigrationDependencies(TRUE). See https://www.drupal.org/node/3266691',E_USER_DEPRECATED);
publicfunctiongetMigrationDependencies(){
if(func_num_args()>0){
@trigger_error('Calling '.__METHOD__.' with the $expand parameter is deprecated in drupal:11.0.0 and is removed drupal:12.0.0. See https://www.drupal.org/node/3442785',E_USER_DEPRECATED);
}
// @todo Before Drupal 11.0.0, remove ::set() and these checks.
@@ -762,14 +716,6 @@ public function getSourceConfiguration() {
return$this->source;
}
/**
* {@inheritdoc}
*/
publicfunctiongetTrackLastImported(){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894',E_USER_DEPRECATED);
@trigger_error('Calling Sql::__construct() without the $migration_manager argument is deprecated in drupal:9.5.0 and the $migration_manager argument will be required in drupal:11.0.0. See https://www.drupal.org/node/3277306',E_USER_DEPRECATED);
* @deprecated in drupal:9.5.0 and is removed from drupal:11.0.0. Use
* $this->migrationPluginManager instead.
*
* @see https://www.drupal.org/node/3277306
*/
protectedfunctiongetMigrationPluginManager(){
@trigger_error(__METHOD__.'() is deprecated in drupal:9.5.0 and is removed from drupal:11.0.0. Use $this->migrationPluginManager instead. See https://www.drupal.org/node/3277306',E_USER_DEPRECATED);
@@ -169,24 +169,6 @@ public function testGetDestinationIds() {
$this->assertEquals(['foo'=>'bar'],$destination_ids,'Destination ids match the expected values.');
}
/**
* Tests Migration::getTrackLastImported()
*
* @covers ::getTrackLastImported
* @covers ::isTrackLastImported
*
* @group legacy
*/
publicfunctiontestGetTrackLastImported(){
$this->expectDeprecation('Drupal\migrate\Plugin\Migration::setTrackLastImported() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894');
$this->expectDeprecation('Drupal\migrate\Plugin\Migration::getTrackLastImported() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894');
$this->expectDeprecation('Drupal\migrate\Plugin\Migration::isTrackLastImported() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894');