Issue #2953880 by drunken monkey: Fix doc comments for DefaultTableMapping::allowsSharedTableStorage() and DefaultTableMapping::requiresDedicatedTableStorage()
parent
ac66ac9178
commit
2ce829ab81
|
@ -269,7 +269,7 @@ class DefaultTableMapping implements TableMappingInterface {
|
|||
* The field storage definition.
|
||||
*
|
||||
* @return bool
|
||||
* TRUE if the field can be stored in a dedicated table, FALSE otherwise.
|
||||
* TRUE if the field can be stored in a shared table, FALSE otherwise.
|
||||
*/
|
||||
public function allowsSharedTableStorage(FieldStorageDefinitionInterface $storage_definition) {
|
||||
return !$storage_definition->hasCustomStorage() && $storage_definition->isBaseField() && !$storage_definition->isMultiple() && !$storage_definition->isDeleted();
|
||||
|
@ -282,7 +282,7 @@ class DefaultTableMapping implements TableMappingInterface {
|
|||
* The field storage definition.
|
||||
*
|
||||
* @return bool
|
||||
* TRUE if the field can be stored in a dedicated table, FALSE otherwise.
|
||||
* TRUE if the field has to be stored in a dedicated table, FALSE otherwise.
|
||||
*/
|
||||
public function requiresDedicatedTableStorage(FieldStorageDefinitionInterface $storage_definition) {
|
||||
return !$storage_definition->hasCustomStorage() && !$this->allowsSharedTableStorage($storage_definition);
|
||||
|
|
Loading…
Reference in New Issue