You are here

public function PollRecentBlock::getCacheTags in Poll 8

The cache tags associated with this object.

When this object is modified, these cache tags will be invalidated.

Return value

string[] A set of cache tags.

Overrides ContextAwarePluginBase::getCacheTags

File

src/Plugin/Block/PollRecentBlock.php, line 72

Class

PollRecentBlock
Provides a 'Most recent poll' block.

Namespace

Drupal\poll\Plugin\Block

Code

public function getCacheTags() {
  return array(
    'poll_list',
  );
}