comparison core/modules/views/tests/src/Functional/SearchMultilingualTest.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
52 'settings[node][' . $type->id() . '][translatable]' => TRUE, 52 'settings[node][' . $type->id() . '][translatable]' => TRUE,
53 'settings[node][' . $type->id() . '][fields][title]' => TRUE, 53 'settings[node][' . $type->id() . '][fields][title]' => TRUE,
54 'settings[node][' . $type->id() . '][fields][body]' => TRUE, 54 'settings[node][' . $type->id() . '][fields][body]' => TRUE,
55 ]; 55 ];
56 $this->drupalPostForm('admin/config/regional/content-language', $edit, t('Save configuration')); 56 $this->drupalPostForm('admin/config/regional/content-language', $edit, t('Save configuration'));
57 \Drupal::entityManager()->clearCachedDefinitions();
58 57
59 // Add a node in English, with title "sandwich". 58 // Add a node in English, with title "sandwich".
60 $values = [ 59 $values = [
61 'title' => 'sandwich', 60 'title' => 'sandwich',
62 'type' => $type->id(), 61 'type' => $type->id(),