Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AuthorizationMock.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
8 namespace Magento\Ui\Model;
9 
14 {
23  public function isAllowed($resource, $privilege = null)
24  {
25  return $resource !== 'Magento_Customer::manage';
26  }
27 }
isAllowed($resource, $privilege=null)
$resource
Definition: bulk.php:12