diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyStorageController.php b/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyStorageController.php index 373cb0e..3d2853d 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyStorageController.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyStorageController.php @@ -100,7 +100,7 @@ protected function postDelete($entities) { public function resetCache(array $ids = NULL) { drupal_static_reset('taxonomy_vocabulary_get_names'); parent::resetCache($ids); - cache_invalidate(array('content' => TRUE, 'entity_info' => TRUE)); + cache_invalidate_tags(array('content' => TRUE, 'entity_info' => TRUE)); drupal_static_reset('entity_get_info'); } } diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module index 126688f..101c9a1 100644 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module @@ -1394,7 +1394,7 @@ function taxonomy_node_insert(Node $node) { * The index lists all terms that are related to a given node entity, and is * therefore maintained at the entity level. * - * @param Drupal\node\Plugin\Core\Entity\Node $node + * @param \Drupal\node\Plugin\Core\Entity\Node $node * The node entity. */ function taxonomy_build_node_index($node) {