You are here

public function DraggableBlock::getCacheTags in Draggable dashboard 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/Block/DraggableBlock.php \Drupal\draggable_dashboard\Plugin\Block\DraggableBlock::getCacheTags()

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/DraggableBlock.php, line 240

Class

DraggableBlock
Provides a draggable block with a simple text.

Namespace

Drupal\draggable_dashboard\Plugin\Block

Code

public function getCacheTags() {
  $dashboard = $this
    ->getDashboard();
  return $dashboard
    ->getCacheTags();
}