function DevelDumperManager::hasAccessToDevelInformation
Same name in other branches
- 8.x-1.x 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 188
Class
- DevelDumperManager
- Manager class for DevelDumper.
Namespace
Drupal\develCode
protected function hasAccessToDevelInformation() : bool {
return $this->account
->hasPermission('access devel information');
}