You are here

public function SocialPrivateMessageInboxBlock::getCacheContexts in Open Social 8

File

modules/social_features/social_private_message/src/Plugin/Block/SocialPrivateMessageInboxBlock.php, line 67

Class

SocialPrivateMessageInboxBlock
Provides a 'SocialPrivateMessageInboxBlock' block.

Namespace

Drupal\social_private_message\Plugin\Block

Code

public function getCacheContexts() {
  $cache_contexts = parent::getCacheContexts();
  $cache_contexts[] = 'user';
  return $cache_contexts;
}