function DirectWriteTest::assertNotDirectWrite
Event listener that asserts the sandbox manager isn't in direct-write mode.
Parameters
\Drupal\package_manager\Event\SandboxEvent $event: The event being handled.
File
- 
              core/
modules/ package_manager/ tests/ src/ Kernel/ DirectWriteTest.php, line 92  
Class
- DirectWriteTest
 - Tests Direct Write.
 
Namespace
Drupal\Tests\package_manager\KernelCode
public function assertNotDirectWrite(SandboxEvent $event) : void {
  $this->assertFalse($event->sandboxManager
    ->isDirectWrite());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.