You are here

class PanelizerUIAccess in Panelizer 8.5

Same name and namespace in other branches
  1. 8.3 src/Access/PanelizerUIAccess.php \Drupal\panelizer\Access\PanelizerUIAccess
  2. 8.4 src/Access/PanelizerUIAccess.php \Drupal\panelizer\Access\PanelizerUIAccess

Hierarchy

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\Access
View source
class PanelizerUIAccess implements AccessInterface {
  public function access(AccountInterface $account) {
    return $account
      ->hasPermission('administer panelizer') ? AccessResult::allowed() : AccessResult::forbidden();
  }

}

Members