function Status::getCacheContexts
Overrides FilterPluginBase::getCacheContexts
File
- 
              core/
modules/ media/ src/ Plugin/ views/ filter/ Status.php, line 49  
Class
- Status
 - Filter by published status.
 
Namespace
Drupal\media\Plugin\views\filterCode
public function getCacheContexts() {
  $contexts = parent::getCacheContexts();
  $contexts[] = 'user';
  return $contexts;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.