public function EntityManagerWrapper::useCaches in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::useCaches()
- 8 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::useCaches()
- 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::useCaches()
Disable the use of caches.
Can be used to ensure that uncached plugin definitions are returned, without invalidating all cached information.
This will also remove all local/static caches.
Parameters
bool $use_caches: FALSE to not use any caches.
Overrides DefaultPluginManager::useCaches
File
- webprofiler/
src/ Entity/ EntityManagerWrapper.php, line 139
Class
- EntityManagerWrapper
- Class EntityManagerWrapper
Namespace
Drupal\webprofiler\EntityCode
public function useCaches($use_caches = FALSE) {
$this->entityManager
->useCaches($use_caches);
}