Mercurial > hg > isophonics-drupal-site
comparison core/modules/book/src/Controller/BookController.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 |
---|---|
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 /** |