protected function DevelDumperManager::hasAccessToDevelInformation in Devel 8.2
Same name and namespace in other branches
- 8.3 src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::hasAccessToDevelInformation()
- 8 src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::hasAccessToDevelInformation()
- 4.x src/DevelDumperManager.php \Drupal\devel\DevelDumperManager::hasAccessToDevelInformation()
Checks whether a user has access to devel information.
Return value
bool TRUE if the user has the permission, FALSE otherwise.
6 calls to DevelDumperManager::hasAccessToDevelInformation()
- DevelDumperManager::debug in src/
DevelDumperManager.php - Logs a variable to a drupal_debug.txt in the site's temp directory.
- DevelDumperManager::dump in src/
DevelDumperManager.php - Dumps information about a variable.
- DevelDumperManager::dumpOrExport in src/
DevelDumperManager.php - Wrapper for ::dump() and ::export().
- DevelDumperManager::export in src/
DevelDumperManager.php - Returns a string representation of a variable.
- DevelDumperManager::exportAsRenderable in src/
DevelDumperManager.php - Returns a render array representation of a variable.
File
- src/
DevelDumperManager.php, line 144
Class
- DevelDumperManager
- Class DevelDumperManager.
Namespace
Drupal\develCode
protected function hasAccessToDevelInformation() {
return $this->account && $this->account
->hasPermission('access devel information');
}