function FixtureManipulatorTrait::getStageFixtureManipulator
Gets the stage fixture manipulator service.
Return value
\Drupal\fixture_manipulator\StageFixtureManipulator|object|null The stage fixture manipulator service.
6 calls to FixtureManipulatorTrait::getStageFixtureManipulator()
- ComposerPatchesValidatorTest::testErrorDuringPreApply in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPatchesValidatorTest.php - Tests the patcher's presence and configuration are validated on pre-apply.
- ComposerPluginsValidatorInsecureTest::testInsecureConfigurationFailsValidationPreApply in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPluginsValidatorInsecureTest.php - Tests `config.allow-plugins: true` fails validation during pre-apply.
- ComposerPluginsValidatorTestBase::doTestValidationDuringPreApply in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPluginsValidatorTestBase.php - Tests composer plugins are validated during pre-apply.
- EnabledExtensionsValidatorTest::testExtensionRemoved in core/
modules/ package_manager/ tests/ src/ Kernel/ EnabledExtensionsValidatorTest.php - Tests that error is raised if Drupal modules, profiles or themes are removed.
- OverwriteExistingPackagesValidatorTest::testNewPackagesOverwriteExisting in core/
modules/ package_manager/ tests/ src/ Kernel/ OverwriteExistingPackagesValidatorTest.php - Tests that new installed packages overwrite existing directories.
File
-
core/
modules/ package_manager/ tests/ src/ Traits/ FixtureManipulatorTrait.php, line 20
Class
- FixtureManipulatorTrait
- A trait for common fixture manipulator functions.
Namespace
Drupal\Tests\package_manager\TraitsCode
protected function getStageFixtureManipulator() {
return $this->container
->get(StageFixtureManipulator::class);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.