Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / migrate / src / Plugin / MigrateIdMapInterface.php
index eafac29662414a96577160cc3b616f1b4cc77cdd..3482e4d3b8d4b53363a46cfc225dd0fdb320cb86 100644 (file)
@@ -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);