Skip to content

Commit

Permalink
Merge pull request #66 from jhedstrom/dawehner-master
Browse files Browse the repository at this point in the history
Implement clear static caches

Signed-off-by: Jonathan Hedstrom <[email protected]>
  • Loading branch information
jhedstrom committed Oct 27, 2015
1 parent d5a7c64 commit 4fce9e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Drupal/Driver/Cores/AbstractCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,10 @@ protected function expandEntityFields($entity_type, \stdClass $entity) {
}
}

/**
* {@inheritdoc}
*/
public function clearStaticCaches() {
}

}
5 changes: 5 additions & 0 deletions src/Drupal/Driver/DriverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ public function fetchWatchdog($count = 10, $type = NULL, $severity = NULL);
*/
public function clearCache($type = NULL);

/**
* Clears static Drupal caches.
*/
public function clearStaticCaches();

/**
* Creates a node.
*
Expand Down

0 comments on commit 4fce9e2

Please sign in to comment.