You are here

public function MemcacheTimestampInvalidator::invalidateTimestamp in Memcache API and Integration 8.2

Invalidate the timestamp of a tag.

Parameters

string $tag: Tag to invalidate.

Return value

float New timestamp of tag.

Overrides TimestampInvalidatorBase::invalidateTimestamp

File

src/Invalidator/MemcacheTimestampInvalidator.php, line 37

Class

MemcacheTimestampInvalidator
Class MemcacheTimestampInvalidator.

Namespace

Drupal\memcache\Invalidator

Code

public function invalidateTimestamp($tag) {
  return $this
    ->markAsOutdated($tag);
}