3 namespace Drupal\fontyourface;
5 use Drupal\Core\Entity\ContentEntityTypeInterface;
6 use Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema;
9 * Defines the font schema handler.
11 class FontStorageSchema extends SqlContentEntityStorageSchema {
16 protected function getEntitySchema(ContentEntityTypeInterface $entity_type, $reset = FALSE) {
17 $schema = parent::getEntitySchema($entity_type, $reset);
19 $schema['fontyourface_font']['indexes'] += [
23 $schema['fontyourface_font']['unique keys'] += [