+ /**
+ * Create a stub row source for later import as stub data.
+ *
+ * This simple wrapper of the Row constructor allows sub-classing plugins to
+ * have more control over the row.
+ *
+ * @param array $values
+ * An array of values to add as properties on the object.
+ * @param array $source_ids
+ * An array containing the IDs of the source using the keys as the field
+ * names.
+ *
+ * @return \Drupal\migrate\Row
+ * The stub row.
+ */
+ protected function createStubRow(array $values, array $source_ids) {
+ return new Row($values, $source_ids, TRUE);
+ }
+