comparison core/modules/book/src/Controller/BookController.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
120 } 120 }
121 return [ 121 return [
122 '#theme' => 'item_list', 122 '#theme' => 'item_list',
123 '#items' => $book_list, 123 '#items' => $book_list,
124 '#cache' => [ 124 '#cache' => [
125 'tags' => \Drupal::entityManager()->getDefinition('node')->getListCacheTags(), 125 'tags' => $this->entityTypeManager()->getDefinition('node')->getListCacheTags(),
126 ], 126 ],
127 ]; 127 ];
128 } 128 }
129 129
130 /** 130 /**