class ActiveFixtureManipulator
Same name and namespace in other branches
- 11.x core/modules/package_manager/tests/modules/fixture_manipulator/src/ActiveFixtureManipulator.php \Drupal\fixture_manipulator\ActiveFixtureManipulator
A fixture manipulator for the active directory.
Hierarchy
- class \Drupal\fixture_manipulator\FixtureManipulator
- class \Drupal\fixture_manipulator\ActiveFixtureManipulator extends \Drupal\fixture_manipulator\FixtureManipulator
Expanded class hierarchy of ActiveFixtureManipulator
15 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 - ComposerPluginsValidatorInsecureTest.php in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPluginsValidatorInsecureTest.php
File
-
core/
modules/ package_manager/ tests/ modules/ fixture_manipulator/ src/ ActiveFixtureManipulator.php, line 12
Namespace
Drupal\fixture_manipulatorView source
final class ActiveFixtureManipulator extends FixtureManipulator {
/**
* {@inheritdoc}
*/
public function commitChanges(?string $dir = NULL, bool $validate_composer = FALSE) : self {
if ($dir) {
throw new \UnexpectedValueException("{$dir} cannot be specific for a ActiveFixtureManipulator instance");
}
$dir = \Drupal::service(PathLocator::class)->getProjectRoot();
parent::doCommitChanges($dir);
return $this;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.