class ActiveFixtureManipulator

A fixture manipulator for the active directory.

Hierarchy

Expanded class hierarchy of ActiveFixtureManipulator

14 files declare their use of ActiveFixtureManipulator
AllowedScaffoldPackagesValidatorTest.php in core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php
ChangeLoggerTest.php in core/modules/package_manager/tests/src/Kernel/ChangeLoggerTest.php
ComposerInspectorTest.php in core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
ComposerPatchesValidatorTest.php in core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php
ComposerPluginsValidatorTest.php in core/modules/package_manager/tests/src/Kernel/ComposerPluginsValidatorTest.php

... See full list

File

core/modules/package_manager/tests/modules/fixture_manipulator/src/ActiveFixtureManipulator.php, line 12

Namespace

Drupal\fixture_manipulator
View source
final class ActiveFixtureManipulator extends FixtureManipulator {
    
    /**
     * {@inheritdoc}
     */
    public function commitChanges(?string $dir = NULL) : void {
        if ($dir) {
            throw new \UnexpectedValueException("{$dir} cannot be specific for a ActiveFixtureManipulator instance");
        }
        $dir = \Drupal::service(PathLocator::class)->getProjectRoot();
        parent::doCommitChanges($dir);
    }

}

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