Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/block_content/src/BlockContentForm.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
75 'theme' => $theme, | 75 'theme' => $theme, |
76 ] | 76 ] |
77 ); | 77 ); |
78 } | 78 } |
79 else { | 79 else { |
80 $form_state->setRedirectUrl($block->urlInfo('collection')); | 80 $form_state->setRedirectUrl($block->toUrl('collection')); |
81 } | 81 } |
82 } | 82 } |
83 else { | 83 else { |
84 // In the unlikely case something went wrong on save, the block will be | 84 // In the unlikely case something went wrong on save, the block will be |
85 // rebuilt and block form redisplayed. | 85 // rebuilt and block form redisplayed. |