Search for patch

  1. Search 7.x for patch
  2. Search 9.5.x for patch
  3. Search 8.9.x for patch
  4. Search 10.3.x for patch
  5. Other projects
Title Object type File name Summary
JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure non-translatable entities can be PATCHed with an alternate language.
JsonApiPatchRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensures PATCHing datetime (both date-only & date+time) fields is possible.
JsonApiPatchRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure PATCHing a non-existing field property results in a helpful error.
JsonApiPatchRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure includes are respected even when PATCHing.
JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures datetime fields are normalized using the correct timezone.
LanguageConfigFactoryOverride::$eventDispatcher property core/modules/language/src/Config/LanguageConfigFactoryOverride.php An event dispatcher instance to use for configuration events.
LanguageConfigOverride::$eventDispatcher property core/modules/language/src/Config/LanguageConfigOverride.php The event dispatcher.
LanguageConfigOverrideTest::$eventDispatcher property core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php Event Dispatcher.
LayoutBuilder::$eventDispatcher property core/modules/layout_builder/src/Element/LayoutBuilder.php The event dispatcher.
MaintenanceModeSubscriber::$eventDispatcher property core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php An event dispatcher instance to use for configuration events.
MediaResourceTestBase::$patchProtectedFieldNames property core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php The fields that are protected against modification during PATCH requests.
MediaResourceTestBase::getNormalizedPatchEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php Returns the normalized PATCH entity.
MediaTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/MediaTest.php The fields that are protected against modification during PATCH requests.
MenuLinkContentResourceTestBase::$patchProtectedFieldNames property core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php The fields that are protected against modification during PATCH requests.
MenuLinkContentTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php The fields that are protected against modification during PATCH requests.
MessageResourceTestBase::testPatch function core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php Tests a PATCH request for an entity, plus edge cases to ensure good DX.
MessageTest::doTestPatchIndividual function core/modules/jsonapi/tests/src/Functional/MessageTest.php Tests PATCHing an individual resource, plus edge cases to ensure good DX.
MigrateExecutable::$eventDispatcher property core/modules/migrate/src/MigrateExecutable.php The event dispatcher.
MigrateExecutable::getEventDispatcher function core/modules/migrate/src/MigrateExecutable.php Gets the event dispatcher.
MigrateExecutableTest::$eventDispatcher property core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php A mocked event dispatcher.
ModuleHandlerTest::$eventDispatcher property core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php
NodeResourceTestBase::$patchProtectedFieldNames property core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php The fields that are protected against modification during PATCH requests.
NodeResourceTestBase::testPatchPath function core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php Tests PATCHing a node's path with and without 'create url aliases'.
NodeTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/NodeTest.php The fields that are protected against modification during PATCH requests.
NodeTest::testPatchPath function core/modules/jsonapi/tests/src/Functional/NodeTest.php Tests PATCHing a node's path with and without 'create url aliases'.
PathAliasResourceTestBase::$patchProtectedFieldNames property core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php The fields that are protected against modification during PATCH requests.
PathAliasTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/PathAliasTest.php The fields that are protected against modification during PATCH requests.
ResourceTestBase::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The fields that are protected against modification during PATCH requests.
ResourceTestBase::doTestPatchIndividual function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Tests PATCHing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::getModifiedEntityForPatchTesting function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Clones the given entity and modifies all PATCH-protected fields.
ResourceTestBase::getPatchDocument function core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php Returns the JSON:API PATCH document.
ResourceTypeRepository::$eventDispatcher property core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php The event dispatcher.
RouteBuilder::$dispatcher property core/lib/Drupal/Core/Routing/RouteBuilder.php The event dispatcher to notify of routes.
RouteBuilderTest::$dispatcher property core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php The mocked event dispatcher.
SectionComponent::eventDispatcher function core/modules/layout_builder/src/SectionComponent.php Wraps the event dispatcher.
SectionRenderTest::$eventDispatcher property core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php The event dispatcher.
ShortcutResourceTestBase::$patchProtectedFieldNames property core/modules/shortcut/tests/src/Functional/Rest/ShortcutResourceTestBase.php The fields that are protected against modification during PATCH requests.
ShortcutSetResourceTestBase::$patchProtectedFieldNames property core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetResourceTestBase.php The fields that are protected against modification during PATCH requests.
ShortcutTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/ShortcutTest.php The fields that are protected against modification during PATCH requests.
Sql::$eventDispatcher property core/modules/migrate/src/Plugin/migrate/id_map/Sql.php An event dispatcher instance to use for map events.
SqlTest::$eventDispatcher property core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php Prophesized event dispatcher.
StageBase::dispatch function core/modules/package_manager/src/StageBase.php Dispatches an event and handles any errors that it collects.
StubRequestHandlerResourcePlugin::patch function core/modules/rest/tests/src/Kernel/RequestHandlerTest.php
TemporaryJsonapiFileFieldUploader::$eventDispatcher property core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php The event dispatcher.
TermResourceTestBase::$patchProtectedFieldNames property core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php The fields that are protected against modification during PATCH requests.
TermResourceTestBase::testPatchPath function core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php Tests PATCHing a term's path.
TermTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/TermTest.php The fields that are protected against modification during PATCH requests.
TermTest::testPatchPath function core/modules/jsonapi/tests/src/Functional/TermTest.php Tests PATCHing a term's path.
TestWithDispatcher class core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
TestWithDispatcher::$dispatcher property core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php

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