Mercurial > hg > isophonics-drupal-site
comparison core/modules/block_content/src/BlockContentForm.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 |
---|---|
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. |