comparison core/modules/image/src/ImageStyleListBuilder.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
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 ];