diff --git a/core/modules/text/src/Plugin/Field/FieldType/TextLongItem.php b/core/modules/text/src/Plugin/Field/FieldType/TextLongItem.php index c55953c..09f6713 100644 --- a/core/modules/text/src/Plugin/Field/FieldType/TextLongItem.php +++ b/core/modules/text/src/Plugin/Field/FieldType/TextLongItem.php @@ -29,19 +29,20 @@ class TextLongItem extends TextItemBase { public static function schema(FieldStorageDefinitionInterface $field_definition) { return array( 'columns' => array( 'value' => array( 'type' => 'text', 'size' => 'big', ), 'format' => array( 'type' => 'varchar', 'length' => 255, + 'is_alphanumeric' => TRUE, ), ), 'indexes' => array( 'format' => array('format'), ), ); } } diff --git a/core/modules/text/src/Plugin/Field/FieldType/TextWithSummaryItem.php b/core/modules/text/src/Plugin/Field/FieldType/TextWithSummaryItem.php index 48d4dac..6907d14 100644 --- a/core/modules/text/src/Plugin/Field/FieldType/TextWithSummaryItem.php +++ b/core/modules/text/src/Plugin/Field/FieldType/TextWithSummaryItem.php @@ -63,20 +63,21 @@ public static function schema(FieldStorageDefinitionInterface $field_definition) 'type' => 'text', 'size' => 'big', ), 'summary' => array( 'type' => 'text', 'size' => 'big', ), 'format' => array( 'type' => 'varchar', 'length' => 255, + 'is_alphanumeric' => TRUE, ), ), 'indexes' => array( 'format' => array('format'), ), ); } /** * {@inheritdoc}