public function __construct(EntityTypeManagerInterface
$entity_type_manager, FieldTypePluginManagerInterface
$field_type_manager) { $this->entityTypeManager =
$entity_type_manager;
$this->fieldTypeManager =
$field_type_manager;
} /**
* {@inheritdoc}
*/
public function getFieldSynchronizedProperties(FieldDefinitionInterface
$field_definition) { $properties =
[];
$settings =
$this->
getFieldSynchronizationSettings($field_definition);
foreach ($settings as $group =>
$translatable) { if (!
$translatable) { $field_type_definition =
$this->fieldTypeManager->
getDefinition($field_definition->
getType());
if (!
empty($field_type_definition['column_groups'
][$group]['columns'
])) { $properties =
array_merge($properties,
$field_type_definition['column_groups'
][$group]['columns'
]);
} } } return $properties;
}