comparison core/modules/field/tests/src/Kernel/ConfigFieldDefinitionTest.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
41 $this->bundle = 'entity_test'; 41 $this->bundle = 'entity_test';
42 $this->createFieldWithStorage('', $this->entityType, $this->bundle); 42 $this->createFieldWithStorage('', $this->entityType, $this->bundle);
43 $this->entityManager = $this->container->get('entity.manager'); 43 $this->entityManager = $this->container->get('entity.manager');
44 44
45 // Create a second field on 'entity_test_rev'. 45 // Create a second field on 'entity_test_rev'.
46 $this->installEntitySchema('entity_test_rev');
46 $this->createFieldWithStorage('_rev', 'entity_test_rev', 'entity_test_rev'); 47 $this->createFieldWithStorage('_rev', 'entity_test_rev', 'entity_test_rev');
47 } 48 }
48 49
49 /** 50 /**
50 * Makes sure a field definition is exposed for a configurable field. 51 * Makes sure a field definition is exposed for a configurable field.