public function AkamaiCacheControl::access in Akamai 8.2
Same name and namespace in other branches
- 8 lib/Drupal/akamai/Plugin/Block/AkamaiCacheControl.php \Drupal\akamai\Plugin\Block\AkamaiCacheControl::access()
File
- src/
Plugin/ Block/ AkamaiCacheControl.php, line 26 - Contains \Drupal\akamai\Plugin\Block\AkamaiCacheControl.
Class
- AkamaiCacheControl
- Provides a block for clearing Akamai cache.
Namespace
Drupal\akamai\Plugin\BlockCode
public function access(AccountInterface $account) {
return $account
->hasPermission('purge akamai cache');
}