Commit 2ce829ab authored by alexpott's avatar alexpott

Issue #2953880 by drunken monkey: Fix doc comments for...

Issue #2953880 by drunken monkey: Fix doc comments for DefaultTableMapping::allowsSharedTableStorage() and DefaultTableMapping::requiresDedicatedTableStorage()
parent ac66ac91
......@@ -269,7 +269,7 @@ public function setExtraColumns($table_name, array $column_names) {
* 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 @@ public function allowsSharedTableStorage(FieldStorageDefinitionInterface $storag
* 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment