You are here

public function VarDumperDebug::hasPermission in VarDumper 7

Same name and namespace in other branches
  1. 8 src/VarDumper/VarDumperDebug.php \Drupal\vardumper\VarDumper\VarDumperDebug::hasPermission()
2 calls to VarDumperDebug::hasPermission()
VarDumperBlock::dump in modules/vardumper_block/src/VarDumper/VarDumperBlock.php
VarDumperMessage::dump in src/VarDumper/VarDumperMessage.php

File

src/VarDumper/VarDumperDebug.php, line 61
Contains Drupal\vardumper\VarDumper\VarDumperDebug.

Class

VarDumperDebug

Namespace

Drupal\vardumper\VarDumper

Code

public function hasPermission() {
  return $this->drupal7
    ->user_access('access vardumper information');
}