reverted: --- b/core/modules/block/custom_block/lib/Drupal/custom_block/Entity/CustomBlock.php +++ a/core/modules/block/custom_block/lib/Drupal/custom_block/Entity/CustomBlock.php @@ -101,6 +101,16 @@ /** * {@inheritdoc} */ + public function preSave(EntityStorageControllerInterface $storage_controller) { + parent::preSave($storage_controller); + + // Before saving the custom block, set changed time. + $this->set('changed', REQUEST_TIME); + } + + /** + * {@inheritdoc} + */ public function postSave(EntityStorageControllerInterface $storage_controller, $update = TRUE) { parent::postSave($storage_controller, $update); only in patch2: unchanged: --- a/core/modules/system/tests/modules/entity_test/entity_test.install +++ b/core/modules/system/tests/modules/entity_test/entity_test.install @@ -32,7 +32,7 @@ function entity_test_install() { ))->save(); entity_get_form_display($entity_type, $entity_type, 'default') - ->setComponent('field_test_text', array('type' => 'text_text')) + ->setComponent('field_test_text', array('type' => 'text_textfield')) ->save(); } }