X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Fsrc%2FPlugin%2FMigrateIdMapInterface.php;h=3482e4d3b8d4b53363a46cfc225dd0fdb320cb86;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=eafac29662414a96577160cc3b616f1b4cc77cdd;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php b/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php index eafac2966..3482e4d3b 100644 --- a/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php +++ b/web/core/modules/migrate/src/Plugin/MigrateIdMapInterface.php @@ -103,7 +103,6 @@ interface MigrateIdMapInterface extends \Iterator, PluginInspectionInterface { */ public function importedCount(); - /** * Returns a count of items which are marked as needing update. * @@ -197,7 +196,7 @@ interface MigrateIdMapInterface extends \Iterator, PluginInspectionInterface { * The source identifier keyed values of the record, e.g. ['nid' => 5], or * an empty array on failure. */ - public function lookupSourceID(array $destination_id_values); + public function lookupSourceId(array $destination_id_values); /** * Looks up the destination identifier corresponding to a source key. @@ -213,6 +212,8 @@ interface MigrateIdMapInterface extends \Iterator, PluginInspectionInterface { * * @deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.x. Use * lookupDestinationIds() instead. + * + * @see https://www.drupal.org/node/2725809 */ public function lookupDestinationId(array $source_id_values); @@ -227,7 +228,7 @@ interface MigrateIdMapInterface extends \Iterator, PluginInspectionInterface { * If unkeyed, the first count($source_id_values) keys will be assumed. * * @return array - * An array of arrays of destination identifier values. + * An array of arrays of destination identifier values. * * @throws \Drupal\migrate\MigrateException * Thrown when $source_id_values contains unknown keys, or is the wrong @@ -266,10 +267,10 @@ interface MigrateIdMapInterface extends \Iterator, PluginInspectionInterface { public function getQualifiedMapTableName(); /** - * Sets the migrate message. + * Sets the migrate message service. * * @param \Drupal\migrate\MigrateMessageInterface $message - * The message to display. + * The migrate message service. */ public function setMessage(MigrateMessageInterface $message);