public DefaultTableMapping::__construct(ContentEntityTypeInterface $entity_type, array $storage_definitions)
Constructs a DefaultTableMapping.
Parameters
\Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Field\FieldStorageDefinitionInterface[] $storage_definitions: A list of field storage definitions that should be available for the field columns of this table mapping.
File
- core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 87
Class
- DefaultTableMapping
- Defines a default table mapping class.
Namespace
Drupal\Core\Entity\Sql
Code
1 2 3 4 | public function __construct(ContentEntityTypeInterface $entity_type , array $storage_definitions ) { $this ->entityType = $entity_type ; $this ->fieldStorageDefinitions = $storage_definitions ; } |
Please login to continue.