Mercurial > hg > isophonics-drupal-site
comparison core/modules/image/src/ImageStyleListBuilder.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
34 */ | 34 */ |
35 public function getDefaultOperations(EntityInterface $entity) { | 35 public function getDefaultOperations(EntityInterface $entity) { |
36 $flush = [ | 36 $flush = [ |
37 'title' => t('Flush'), | 37 'title' => t('Flush'), |
38 'weight' => 200, | 38 'weight' => 200, |
39 'url' => $entity->urlInfo('flush-form'), | 39 'url' => $entity->toUrl('flush-form'), |
40 ]; | 40 ]; |
41 | 41 |
42 $operations = parent::getDefaultOperations($entity) + [ | 42 $operations = parent::getDefaultOperations($entity) + [ |
43 'flush' => $flush, | 43 'flush' => $flush, |
44 ]; | 44 ]; |