diff --git a/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php b/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php index b6e1406..4ce46bc 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php +++ b/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php @@ -393,7 +393,7 @@ public function buildOptionsForm(&$form, &$form_state) { $options = array( 'instance' => $this->instance, 'configuration' => array( - 'type' => $format, + 'formatter' => $format, 'settings' => $settings, 'label' => '', 'weight' => 0, diff --git a/core/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php b/core/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php index 541ba12..9c04243 100644 --- a/core/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php +++ b/core/modules/telephone/lib/Drupal/telephone/Tests/TelephoneFieldTest.php @@ -69,7 +69,7 @@ function testTelephoneField() { entity_get_display('node', 'article', 'default') ->setComponent('field', 'field_telephone', array( - 'type' => 'telephone_link', + 'formatter' => 'telephone_link', 'weight' => 1, )) ->save();