class PanelizerUIAccess in Panelizer 8.3
Same name and namespace in other branches
- 8.5 src/Access/PanelizerUIAccess.php \Drupal\panelizer\Access\PanelizerUIAccess
- 8.4 src/Access/PanelizerUIAccess.php \Drupal\panelizer\Access\PanelizerUIAccess
Hierarchy
- class \Drupal\panelizer\Access\PanelizerUIAccess implements AccessInterface
Expanded class hierarchy of PanelizerUIAccess
1 file declares its use of PanelizerUIAccess
- PanelizerWizardBase.php in src/
Wizard/ PanelizerWizardBase.php
File
- src/
Access/ PanelizerUIAccess.php, line 12
Namespace
Drupal\panelizer\AccessView source
class PanelizerUIAccess implements AccessInterface {
public function access(AccountInterface $account) {
return $account
->hasPermission('administer panelizer') ? AccessResult::allowed() : AccessResult::forbidden();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PanelizerUIAccess:: |
public | function |
Overrides AccessInterface:: |