Search for apply

  1. Search 7.x for apply
  2. Search 9.5.x for apply
  3. Search 8.9.x for apply
  4. Search 10.3.x for apply
  5. Other projects
Title Object type File name Summary
PermissionsPerBundleTest::applyRecipeFromString function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Given a string of `recipe.yml` contents, applies it to the site.
PhpTufValidatorTest::testPluginRemovedFromStagePreApply function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests removing the plugin from the stage before applying it.
PlaceBlock::apply function core/modules/block/src/Plugin/ConfigAction/PlaceBlock.php Applies the config action.
PostApplyEvent class core/modules/package_manager/src/Event/PostApplyEvent.php Event fired after staged changes are synced to the active directory.
PostApplyEvent.php file core/modules/package_manager/src/Event/PostApplyEvent.php
PostApplySubscriber class core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/src/PostApplySubscriber.php Writes a file after staged changes are applied to the active directory.
PostApplySubscriber.php file core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/src/PostApplySubscriber.php
PostApplySubscriber::$pathLocator property core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/src/PostApplySubscriber.php The path locator service.
PostApplySubscriber::getSubscribedEvents function core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/src/PostApplySubscriber.php
PostApplySubscriber::postApply function core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/src/PostApplySubscriber.php Writes a file when staged changes are applied to the active directory.
PostApplySubscriber::__construct function core/modules/package_manager/tests/fixtures/build_test_projects/updated_module/1.1.0/src/PostApplySubscriber.php Constructs a PostApplySubscriber.
PreApplyEvent class core/modules/package_manager/src/Event/PreApplyEvent.php Event fired before staged changes are synced to the active directory.
PreApplyEvent.php file core/modules/package_manager/src/Event/PreApplyEvent.php
PreApplyEvent::$excludedPaths property core/modules/package_manager/src/Event/PreApplyEvent.php The list of paths to ignore in the active and stage directories.
PreApplyEvent::__construct function core/modules/package_manager/src/Event/PreApplyEvent.php Constructs a PreApplyEvent object.
RecipeEventsTest::onRecipeApply function core/tests/Drupal/KernelTests/Core/Recipe/RecipeEventsTest.php Handles a recipe apply event for testing.
RecipeRunnerTest::testApplySameRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php Tests applying a recipe multiple times.
RecipeTestTrait::applyRecipe function core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php Applies a recipe to the site.
ResizeImageEffect::applyEffect function core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php Applies an image effect to the image object.
RotateImageEffect::applyEffect function core/modules/image/src/Plugin/ImageEffect/RotateImageEffect.php Applies an image effect to the image object.
Router::applyFitOrder function core/lib/Drupal/Core/Routing/Router.php Reapplies the fit order to a RouteCollection object.
Router::applyRouteEnhancers function core/lib/Drupal/Core/Routing/Router.php Apply the route enhancers to the defaults, according to priorities.
Router::applyRouteFilters function core/lib/Drupal/Core/Routing/Router.php Applies all route filters to a given route collection.
SandboxManagerBase::apply function core/modules/package_manager/src/SandboxManagerBase.php Applies staged changes to the active directory.
SandboxManagerBase::isApplying function core/modules/package_manager/src/SandboxManagerBase.php Checks if staged changes are being applied to the active directory.
SandboxManagerBase::postApply function core/modules/package_manager/src/SandboxManagerBase.php Performs post-apply tasks.
SandboxManagerBase::setNotApplying function core/modules/package_manager/src/SandboxManagerBase.php Returns a closure that marks this stage as no longer being applied.
SandboxManagerBase::TEMPSTORE_APPLY_TIME_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the time that ::apply() was called.
SandboxManagerBaseTest::testFailureCollectPathsToExcludeOnApply function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that if apply fails to get paths to exclude, throws a stage exception.
ScaleAndCropImageEffect::applyEffect function core/modules/image/src/Plugin/ImageEffect/ScaleAndCropImageEffect.php Applies an image effect to the image object.
ScaleImageEffect::applyEffect function core/modules/image/src/Plugin/ImageEffect/ScaleImageEffect.php Applies an image effect to the image object.
SetProperties::apply function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/SetProperties.php Applies the config action.
SettingsValidatorTest::testSettingsValidationDuringPreApply function core/modules/package_manager/tests/src/Kernel/SettingsValidatorTest.php Tests settings validation during pre-apply.
SimpleConfigUpdate::apply function core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/SimpleConfigUpdate.php Applies the config action.
StageBase::apply function core/modules/package_manager/src/StageBase.php Applies staged changes to the active directory.
StageBase::isApplying function core/modules/package_manager/src/StageBase.php Checks if staged changes are being applied to the active directory.
StageBase::postApply function core/modules/package_manager/src/StageBase.php Performs post-apply tasks.
StageBase::setNotApplying function core/modules/package_manager/src/StageBase.php Returns a closure that marks this stage as no longer being applied.
StageBase::TEMPSTORE_APPLY_TIME_KEY constant core/modules/package_manager/src/StageBase.php The tempstore key under which to store the time that ::apply() was called.
StageBaseTest::testFailureCollectPathsToExcludeOnApply function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that if apply fails to get paths to exclude, throws a stage exception.
StageConflictTest::providerDestroyDuringApply function core/modules/package_manager/tests/src/Kernel/StageConflictTest.php Data provider for testDestroyDuringApply().
StageConflictTest::testApplyAndPostApplyInSameRequest function core/modules/package_manager/tests/src/Kernel/StageConflictTest.php Tests running apply and post-apply in the same request.
StageConflictTest::testDestroyDuringApply function core/modules/package_manager/tests/src/Kernel/StageConflictTest.php Tests destroying a stage while applying it.
StageConflictTest::testUninstallModuleDuringApply function core/modules/package_manager/tests/src/Kernel/StageConflictTest.php Test uninstalling any module while the staged changes are being applied.
TemporaryQueryGuard::applyAccessConditions function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Applies access conditions to ensure 'view' access is respected.
TemporaryQueryGuard::applyAccessControls function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Applies access controls to an entity query.
TestToolkit::apply function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Applies a toolkit operation to an image.
TextItemBase::applyDefaultValue function core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php Applies the default value.
ThemeNegotiatorTest::testDetermineActiveThemeWithNotApplyingNegotiator function core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php Tests determining with two negotiators of which one does not apply.
ToolkitTest::testApply function core/tests/Drupal/KernelTests/Core/Image/ToolkitTest.php Tests the 'apply' method.

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