diff --git a/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverviewBase.php b/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverviewBase.php
index 2ed54e8..e81f1c6 100644
--- a/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverviewBase.php
+++ b/core/modules/field_ui/lib/Drupal/field_ui/DisplayOverviewBase.php
@@ -53,7 +53,7 @@
public function __construct(EntityManagerInterface $entity_manager, FieldTypePluginManagerInterface $field_type_manager, PluginManagerBase $plugin_manager) {
parent::__construct($entity_manager);
- $this->fieldTypes = $field_type_manager->getConfigurableDefinitions();
+ $this->fieldTypes = $field_type_manager->getDefinitions();
$this->pluginManager = $plugin_manager;
}
diff --git a/core/modules/node/lib/Drupal/node/Entity/Node.php b/core/modules/node/lib/Drupal/node/Entity/Node.php
index 215fd1c..5674681 100644
--- a/core/modules/node/lib/Drupal/node/Entity/Node.php
+++ b/core/modules/node/lib/Drupal/node/Entity/Node.php
@@ -393,7 +393,7 @@ public static function baseFieldDefinitions($entity_type) {
))
->setDisplayOptions('view', array(
'label' => 'hidden',
- 'type' => 'text_default',
+ 'type' => 'text_plain',
'weight' => -5,
))
->setDisplayOptions('form', array(
diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeValidationTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeValidationTest.php
index 7b0a0a0..22028f1 100644
--- a/core/modules/node/lib/Drupal/node/Tests/NodeValidationTest.php
+++ b/core/modules/node/lib/Drupal/node/Tests/NodeValidationTest.php
@@ -54,7 +54,7 @@ public function testValidation() {
$violations = $node->validate();
$this->assertEqual(count($violations), 1, 'Violation found when title is too long.');
$this->assertEqual($violations[0]->getPropertyPath(), 'title.0.value');
- $this->assertEqual($violations[0]->getMessage(), 'Title: the text may not be longer than 255 characters.');
+ $this->assertEqual($violations[0]->getMessage(), 'This value is too long. It should have 255 characters or less.');
$node->set('title', NULL);
$violations = $node->validate();
diff --git a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextDefaultFormatter.php b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextDefaultFormatter.php
index 61d371a..ba85506 100644
--- a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextDefaultFormatter.php
+++ b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextDefaultFormatter.php
@@ -17,7 +17,6 @@
* id = "text_default",
* label = @Translation("Default"),
* field_types = {
- * "string",
* "text",
* "text_long",
* "text_with_summary"
diff --git a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextPlainFormatter.php b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextPlainFormatter.php
index 6c15bf5..03dd9dd 100644
--- a/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextPlainFormatter.php
+++ b/core/modules/text/lib/Drupal/text/Plugin/Field/FieldFormatter/TextPlainFormatter.php
@@ -17,6 +17,7 @@
* id = "text_plain",
* label = @Translation("Plain text"),
* field_types = {
+ * "string",
* "text",
* "text_long",
* "text_with_summary"
diff --git a/core/modules/text/text.module b/core/modules/text/text.module
index b0f565b..6a0d9ee 100644
--- a/core/modules/text/text.module
+++ b/core/modules/text/text.module
@@ -196,5 +196,5 @@ function text_filter_format_disable($format) {
*/
function text_field_info_alter(&$info) {
$info['string']['default_widget'] = 'text_textfield';
- $info['string']['default_widget'] = 'text_default';
+ $info['string']['default_formatter'] = 'text_plain';
}