public function ReferenceDefaultTableMapping::requiresDedicatedTableStorage in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/ReferenceDefaultTableMapping.php \Drupal\bibcite_entity\ReferenceDefaultTableMapping::requiresDedicatedTableStorage()
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 has to be stored in a dedicated table, FALSE otherwise.
Overrides DefaultTableMapping::requiresDedicatedTableStorage
File
- modules/
bibcite_entity/ src/ ReferenceDefaultTableMapping.php, line 18
Class
- ReferenceDefaultTableMapping
- Class ReferenceDefaultTableMapping.
Namespace
Drupal\bibcite_entityCode
public function requiresDedicatedTableStorage(FieldStorageDefinitionInterface $storage_definition) {
if ($storage_definition
->getName() === 'bibcite_citekey') {
return TRUE;
}
return parent::requiresDedicatedTableStorage($storage_definition);
}