1 book.module | _book_cache_clear($cid = NULL, $wildcard = FALSE) |
Invalidates cached data relating to book_cache.
Parameters
int|null $cid: (optional) Cache ID of the record to clear. If empty, all records will be cleared from the table. Defaults to NULL.
bool $wildcard: (optional) If TRUE, cache IDs starting with $cid are deleted in addition to the exact cache ID specified by $cid. Defaults to FALSE.
File
- core/
modules/ book/ book.module, line 1320 - Allows users to create and organize related content in an outline.
Code
function _book_cache_clear($cid = NULL, $wildcard = FALSE) {
cache_clear_all($cid, 'cache_book', $wildcard);
}