Exemple #1
0
 /**
  * Checks whether the given field can be stored in a shared table.
  *
  * @param \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition
  *   The field storage definition.
  *
  * @return bool
  *   TRUE if the field can be stored in a dedicated table, FALSE otherwise.
  */
 public function allowsSharedTableStorage(FieldStorageDefinitionInterface $storage_definition)
 {
     return !$storage_definition->hasCustomStorage() && $storage_definition->isBaseField() && !$storage_definition->isMultiple();
 }