Search for kernel

  1. Search 7.x for kernel
  2. Search 9.5.x for kernel
  3. Search 8.9.x for kernel
  4. Search 11.x for kernel
  5. Other projects
Title Object type File name Summary
KernelTestBase::$root property core/tests/Drupal/KernelTests/KernelTestBase.php The app root.
KernelTestBase::$runTestInSeparateProcess property core/tests/Drupal/KernelTests/KernelTestBase.php Kernel tests are run in separate processes because they allow autoloading
of code from extensions. Running the test in a separate process isolates
this behavior from other tests. Subclasses should not override this
property.
KernelTestBase::$siteDirectory property core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::$strictConfigSchema property core/tests/Drupal/KernelTests/KernelTestBase.php Set to TRUE to strict check all configuration saved.
KernelTestBase::$usesSuperUserAccessPolicy property core/tests/Drupal/KernelTests/KernelTestBase.php Set to TRUE to make user 1 a super user.
KernelTestBase::$vfsRoot property core/tests/Drupal/KernelTests/KernelTestBase.php The virtual filesystem root directory.
KernelTestBase::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::bootEnvironment function core/tests/Drupal/KernelTests/KernelTestBase.php Bootstraps a basic test environment.
KernelTestBase::bootKernel function core/tests/Drupal/KernelTests/KernelTestBase.php Bootstraps a kernel for a test.
KernelTestBase::config function core/tests/Drupal/KernelTests/KernelTestBase.php Configuration accessor for tests. Returns non-overridden configuration.
KernelTestBase::disableModules function core/tests/Drupal/KernelTests/KernelTestBase.php Disables modules for this test.
KernelTestBase::enableModules function core/tests/Drupal/KernelTests/KernelTestBase.php Enables modules for this test.
KernelTestBase::getConfigSchemaExclusions function core/tests/Drupal/KernelTests/KernelTestBase.php Gets the config schema exclusions for this test.
KernelTestBase::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the Database connection info to be used for this test.
KernelTestBase::getDatabasePrefix function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::getExtensionsForModules function core/tests/Drupal/KernelTests/KernelTestBase.php Returns Extension objects for $modules to install.
KernelTestBase::getModulesToEnable function core/tests/Drupal/KernelTests/KernelTestBase.php Returns the modules to install for this test.
KernelTestBase::initFileCache function core/tests/Drupal/KernelTests/KernelTestBase.php Initializes the FileCache component.
KernelTestBase::installConfig function core/tests/Drupal/KernelTests/KernelTestBase.php Installs default configuration for a given list of modules.
KernelTestBase::installEntitySchema function core/tests/Drupal/KernelTests/KernelTestBase.php Installs the storage schema for a specific entity type.
KernelTestBase::installSchema function core/tests/Drupal/KernelTests/KernelTestBase.php Installs database tables from a module schema definition.
KernelTestBase::register function core/tests/Drupal/KernelTests/KernelTestBase.php Registers test-specific services.
KernelTestBase::render function core/tests/Drupal/KernelTests/KernelTestBase.php Renders a render array.
KernelTestBase::setInstallProfile function core/tests/Drupal/KernelTests/KernelTestBase.php Sets the install profile and rebuilds the container to update it.
KernelTestBase::setSetting function core/tests/Drupal/KernelTests/KernelTestBase.php Sets an in-memory Settings variable.
KernelTestBase::setUp function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::setUpBeforeClass function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::setUpFilesystem function core/tests/Drupal/KernelTests/KernelTestBase.php Sets up the filesystem, so things like the file directory.
KernelTestBase::stop function core/tests/Drupal/KernelTests/KernelTestBase.php Stops test execution.
KernelTestBase::tearDown function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::tearDownCloseDatabaseConnection function core/tests/Drupal/KernelTests/KernelTestBase.php @after
KernelTestBase::vfsDump function core/tests/Drupal/KernelTests/KernelTestBase.php Dumps the current state of the virtual filesystem to STDOUT.
KernelTestBase::__get function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::__sleep function core/tests/Drupal/KernelTests/KernelTestBase.php Prevents serializing any properties.
KernelTestBaseDatabaseDriverModuleTest class core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]
KernelTestBaseDatabaseDriverModuleTest.php file core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php
KernelTestBaseDatabaseDriverModuleTest::getDatabaseConnectionInfo function core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php Returns the Database connection info to be used for this test.
KernelTestBaseDatabaseDriverModuleTest::testDatabaseDriverModuleEnabled function core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php @covers ::bootEnvironment[[api-linebreak]]
KernelTestBaseShutdownTest class core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]
KernelTestBaseShutdownTest.php file core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::$expectedShutdownCalled property core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Indicates which shutdown functions are expected to be called.
KernelTestBaseShutdownTest::$shutdownCalled property core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Indicates which shutdown functions have been called.
KernelTestBaseShutdownTest::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::setUp function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::shutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Registers that this shutdown function has been called.
KernelTestBaseShutdownTest::shutdownFunction2 function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Registers that this shutdown function has been called.
KernelTestBaseShutdownTest::testNoShutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @covers ::assertPostConditions[[api-linebreak]]
KernelTestBaseShutdownTest::testShutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @covers ::assertPostConditions[[api-linebreak]]
KernelTestBaseTest class core/modules/pgsql/tests/src/Kernel/pgsql/KernelTestBaseTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]
KernelTestBaseTest class core/tests/Drupal/KernelTests/KernelTestBaseTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase[[api-linebreak]]

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.