comparison core/modules/datetime/src/Tests/Views/DateTimeHandlerTestBase.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
47 parent::setUp($import_test_views); 47 parent::setUp($import_test_views);
48 48
49 // Add a date field to page nodes. 49 // Add a date field to page nodes.
50 $node_type = NodeType::create([ 50 $node_type = NodeType::create([
51 'type' => 'page', 51 'type' => 'page',
52 'name' => 'page' 52 'name' => 'page',
53 ]); 53 ]);
54 $node_type->save(); 54 $node_type->save();
55 $fieldStorage = FieldStorageConfig::create([ 55 $fieldStorage = FieldStorageConfig::create([
56 'field_name' => static::$field_name, 56 'field_name' => static::$field_name,
57 'entity_type' => 'node', 57 'entity_type' => 'node',