public function PanelsStorageManagerInterface::access in Panels 8.3
Same name and namespace in other branches
- 8.4 src/Storage/PanelsStorageManagerInterface.php \Drupal\panels\Storage\PanelsStorageManagerInterface::access()
Checks if the user has access to underlying storage for a Panels display.
Parameters
string $storage_type: The storage type used by the storage plugin.
string $id: The id within the storage plugin for the requested Panels display.
string $op: The operation to perform (ie. create, read, update, delete).
\Drupal\Core\Session\AccountInterface|NULL $account: The user to check access for. If omitted, it'll check the curerntly logged in user.
Return value
\Drupal\Core\Access\AccessResultInterface The access result. If there is no such Panels display then deny access.
1 method overrides PanelsStorageManagerInterface::access()
- PanelsStorageManager::access in src/
Storage/ PanelsStorageManager.php - Checks if the user has access to underlying storage for a Panels display.
File
- src/
Storage/ PanelsStorageManagerInterface.php, line 73
Class
- PanelsStorageManagerInterface
- Interface for the Panels storage manager service.
Namespace
Drupal\panels\StorageCode
public function access($storage_type, $id, $op, AccountInterface $account = NULL);