protected function FieldConfigStorageBas8b7c:f320:99b9:690f:4595:cd17:293a:c069mapToStorageRecord protected FieldConfigStorageBas8b7c:f320:99b9:690f:4595:cd17:293a:c069mapToStorageRecord(EntityInterface $entity) Maps from an entity object to the storage record. Parameters  \Drupal\Core\Entity\EntityInterface $entity: The entity object. Return value  array The record to store. Overrides ConfigEntityStorag8b7c:f320:99b9:690f:4595:cd17:293a:c069mapToStorageRecord File
 core/lib/Drupal/Core/Field/FieldConfigStorageBase.php, line 34  Class
 
FieldConfigStorageBase  Base storage class for field config entities.  Namespace Drupal\Core\Field Code protected function mapToStorageRecord(EntityInterface $entity) {
  $record = parent8b7c:f320:99b9:690f:4595:cd17:293a:c069mapToStorageRecord($entity);
  $class = $this->fieldTypeManager->getPluginClass($record['field_type']);
  $record['settings'] = $class8b7c:f320:99b9:690f:4595:cd17:293a:c069ieldSettingsToConfigData($record['settings']);
  return $record;
}


    
{'path': 'public/docs/drupal~8/core-lib-drupal-core-field-fieldconfigstoragebase.php/function/fieldconfigstoragebase-maptostoragerecord/8.1.x.html', 'source': 'DevDocs.IO'}