function FieldConfigAccessControlHandlerTest::testAccess
Ensures field config access is working properly.
Overrides FieldStorageConfigAccessControlHandlerTest::testAccess
File
- 
              core/modules/ field/ tests/ src/ Unit/ FieldConfigAccessControlHandlerTest.php, line 38 
Class
- FieldConfigAccessControlHandlerTest
- Tests the field config access controller.
Namespace
Drupal\Tests\field\UnitCode
public function testAccess() {
  $this->assertAllowOperations([], $this->anon);
  $this->assertAllowOperations([
    'view',
    'update',
    'delete',
  ], $this->member);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
