protected FieldStorageConfigStorage::mapFromStorageRecords(array $records)
Maps from storage records to entity objects.
Parameters
array $records: Associative array of query results, keyed on the entity ID.
Return value
\Drupal\Core\Entity\EntityInterface[] An array of entity objects implementing the EntityInterface.
Overrides EntityStorageBase::mapFromStorageRecords
File
- core/modules/field/src/FieldStorageConfigStorage.php, line 152
Class
- FieldStorageConfigStorage
- Controller class for "field storage" configuration entities.
Namespace
Drupal\field
Code
1 2 3 4 5 6 7 | protected function mapFromStorageRecords( array $records ) { foreach ( $records as & $record ) { $class = $this ->fieldTypeManager->getPluginClass( $record [ 'type' ]); $record [ 'settings' ] = $class ::storageSettingsFromConfigData( $record [ 'settings' ]); } return parent::mapFromStorageRecords( $records ); } |
Please login to continue.