5 * Post update functions for entity_test_schema_converter.
8 use Drupal\Core\Entity\Sql\SqlContentEntityStorageSchemaConverter;
11 * @addtogroup updates-8.4.x
16 * Update entity_test_update to be revisionable.
18 function entity_test_schema_converter_post_update_make_revisionable(&$sandbox) {
19 $revisionableSchemaConverter = new SqlContentEntityStorageSchemaConverter(
21 \Drupal::entityTypeManager(),
22 \Drupal::entityDefinitionUpdateManager(),
23 \Drupal::service('entity.last_installed_schema.repository'),
24 \Drupal::keyValue('entity.storage_schema.sql'),
28 $revisionableSchemaConverter->convertToRevisionable(
31 'test_single_property',
32 'test_multiple_properties',
33 'test_single_property_multiple_values',
34 'test_multiple_properties_multiple_values',
35 'test_entity_base_field_info',
40 * @} End of "addtogroup updates-8.4.x".