Issue #3172592 by shetpooja04: Unused variable $field_type in EntityContentBase.php, migrate module

merge-requests/25/head
catch 2020-09-23 10:19:45 +01:00
parent a5ef3af6af
commit 644f0a1e7c
1 changed files with 0 additions and 2 deletions

View File

@ -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());