CodeExplorer storageSettingsToConfigData example
$record['settings'
] =
$class::
storageSettingsFromConfigData($record['settings'
]);
} return parent::
mapFromStorageRecords($records);
} /**
* {@inheritdoc}
*/
protected function mapToStorageRecord(EntityInterface
$entity) { $record = parent::
mapToStorageRecord($entity);
$class =
$this->fieldTypeManager->
getPluginClass($record['type'
]);
$record['settings'
] =
$class::
storageSettingsToConfigData($record['settings'
]);
return $record;
}}