Issue #3172592 by shetpooja04: Unused variable $field_type in EntityContentBase.php, migrate module
parent
a5ef3af6af
commit
644f0a1e7c
|
@ -318,8 +318,6 @@ class EntityContentBase extends Entity implements HighestIdInterface, MigrateVal
|
|||
$values = $default_value;
|
||||
}
|
||||
else {
|
||||
// Otherwise, ask the field type to generate a sample value.
|
||||
$field_type = $field_definition->getType();
|
||||
/** @var \Drupal\Core\Field\FieldItemInterface $field_type_class */
|
||||
$field_type_class = $this->fieldTypeManager
|
||||
->getPluginClass($field_definition->getType());
|
||||
|
|
Loading…
Reference in New Issue