Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										21
									
								
								web/core/tests/Drupal/TestSite/TestSiteInstallTestScript.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								web/core/tests/Drupal/TestSite/TestSiteInstallTestScript.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,21 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
declare(strict_types=1);
 | 
			
		||||
 | 
			
		||||
namespace Drupal\TestSite;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Setup file used by TestSiteApplicationTest.
 | 
			
		||||
 *
 | 
			
		||||
 * @see \Drupal\KernelTests\Scripts\TestSiteApplicationTest
 | 
			
		||||
 */
 | 
			
		||||
class TestSiteInstallTestScript implements TestSetupInterface {
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * {@inheritdoc}
 | 
			
		||||
   */
 | 
			
		||||
  public function setup() {
 | 
			
		||||
    \Drupal::service('module_installer')->install(['test_page_test']);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user