projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
modules
/
migrate_drupal
/
src
/
Plugin
/
MigrateFieldInterface.php
diff --git
a/web/core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php
b/web/core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php
index c8cecad3338c6b75fdab23e0324274a6587aea2b..2aac5d18eb36a81c0acaa5c095725d722d77b76f 100644
(file)
--- a/
web/core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php
+++ b/
web/core/modules/migrate_drupal/src/Plugin/MigrateFieldInterface.php
@@
-43,6
+43,17
@@
interface MigrateFieldInterface extends PluginInspectionInterface {
*/
public function processFieldFormatter(MigrationInterface $migration);
*/
public function processFieldFormatter(MigrationInterface $migration);
+ /**
+ * Get the field formatter type from the source.
+ *
+ * @param \Drupal\migrate\Row $row
+ * The field being migrated.
+ *
+ * @return string
+ * The field formatter type.
+ */
+ public function getFieldFormatterType(Row $row);
+
/**
* Get a map between D6 formatters and D8 formatters for this field type.
*
/**
* Get a map between D6 formatters and D8 formatters for this field type.
*
@@
-53,6
+64,17
@@
interface MigrateFieldInterface extends PluginInspectionInterface {
*/
public function getFieldFormatterMap();
*/
public function getFieldFormatterMap();
+ /**
+ * Get the field widget type from the source.
+ *
+ * @param \Drupal\migrate\Row $row
+ * The field being migrated.
+ *
+ * @return string
+ * The field widget type.
+ */
+ public function getFieldWidgetType(Row $row);
+
/**
* Get a map between D6 and D8 widgets for this field type.
*
/**
* Get a map between D6 and D8 widgets for this field type.
*