Issue #2953880 by drunken monkey: Fix doc comments for DefaultTableMapping::allowsSharedTableStorage() and DefaultTableMapping::requiresDedicatedTableStorage()

merge-requests/1654/head
Alex Pott 2018-03-19 10:49:42 +00:00
parent ac66ac9178
commit 2ce829ab81
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 2 additions and 2 deletions

View File

@ -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);