protected function RESTTestBase::rebuildCache in Drupal 8
Rebuilds routing caches.
1 call to RESTTestBase::rebuildCache()
- RESTTestBase::enableService in core/
modules/ rest/ src/ Tests/ RESTTestBase.php - Enables the REST service interface for a specific entity type.
File
- core/
modules/ rest/ src/ Tests/ RESTTestBase.php, line 430
Class
- RESTTestBase
- Test helper class that provides a REST client method to send HTTP requests.
Namespace
Drupal\rest\TestsCode
protected function rebuildCache() {
$this->container
->get('router.builder')
->rebuildIfNeeded();
}