diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php index 61e8518..1949a03 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItem.php @@ -19,7 +19,8 @@ * label = @Translation("Text"), * description = @Translation("This field stores varchar/varbinary text in the database."), * settings = { - * "max_length" = "255" + * "max_length" = "255", + * "case_sensitive" = "0" * }, * instance_settings = { * "text_processing" = "0" diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItemBase.php b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItemBase.php index 19c715d..9c5e45c 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItemBase.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextItemBase.php @@ -45,11 +45,6 @@ public function getPropertyDefinitions() { 'text source' => 'value', ), ); - static::$propertyDefinitions['case_sensitive'] = array( - 'type' => 'string', - 'label' => t('Case sensitive'), - 'description' => t('Comparisons and sorts consider case.'), - ); } return static::$propertyDefinitions; } diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php index e7a6bac..be8d5cb 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextLongItem.php @@ -18,6 +18,9 @@ * id = "text_long", * label = @Translation("Long text"), * description = @Translation("This field stores long text in the database."), + * settings = { + * "case_sensitive" = "0" + * }, * instance_settings = { * "text_processing" = "0" * }, diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php index 1675e9e..8b87409 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/field_type/TextWithSummaryItem.php @@ -18,6 +18,9 @@ * id = "text_with_summary", * label = @Translation("Long text and summary"), * description = @Translation("This field stores long text in the database along with optional summary text."), + * settings = { + * "case_sensitive" = "0" + * }, * instance_settings = { * "text_processing" = "1", * "display_summary" = "0"