function FixtureManipulatorTrait::getStageFixtureManipulator

Gets the stage fixture manipulator service.

Return value

\Drupal\fixture_manipulator\StageFixtureManipulator|object|null The stage fixture manipulator service.

8 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.
ComposerPluginsValidatorTest::testInsecureConfigurationFailsValidationPreApply in core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php
Tests `config.allow-plugins: true` fails validation during pre-apply.
ComposerPluginsValidatorTest::testValidationDuringPreApply in core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php
Tests composer plugins are validated during pre-apply.
ComposerPluginsValidatorTestBase::doTestValidationDuringPreApply in core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTestBase.php
Tests composer plugins are validated during pre-apply.

... See full list

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\Traits

Code

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.