Documentation

O365CacheInvalidator
in package

Create a custom cache invalidator.

Table of Contents

$cacheTagsInvalidator  : CacheTagsInvalidatorInterface
The cache tags invalidator.
$entityTypeManager  : EntityTypeManagerInterface
The entity type manager.
__construct()  : mixed
Constructs an O365CacheInvalidator object.
invalidateBlockCache()  : mixed
Invalidate the cache tags for our blocks.

Properties

$cacheTagsInvalidator

The cache tags invalidator.

protected CacheTagsInvalidatorInterface $cacheTagsInvalidator

$entityTypeManager

The entity type manager.

protected EntityTypeManagerInterface $entityTypeManager

Methods

__construct()

Constructs an O365CacheInvalidator object.

public __construct(EntityTypeManagerInterface $entity_type_manager, CacheTagsInvalidatorInterface $cache_tags_invalidator) : mixed
Parameters
$entity_type_manager : EntityTypeManagerInterface

The entity type manager.

$cache_tags_invalidator : CacheTagsInvalidatorInterface

The cache tags invalidator.

Return values
mixed

invalidateBlockCache()

Invalidate the cache tags for our blocks.

public invalidateBlockCache() : mixed
Return values
mixed

Search results