public DefaultTableMapping::requiresDedicatedTableStorage(FieldStorageDefinitionInterface $storage_definition)
Checks whether the given field has to be stored in a dedicated table.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition.
Return value
bool TRUE if the field can be stored in a dedicated table, FALSE otherwise.
File
- core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 287
Class
- DefaultTableMapping
- Defines a default table mapping class.
Namespace
Drupal\Core\Entity\Sql
Code
1 2 3 | public function requiresDedicatedTableStorage(FieldStorageDefinitionInterface $storage_definition ) { return ! $storage_definition ->hasCustomStorage() && ! $this ->allowsSharedTableStorage( $storage_definition ); } |
Please login to continue.