Search for patch

  1. Search 7.x for patch
  2. Search 8.9.x for patch
  3. Search 10.3.x for patch
  4. Search 11.x for patch
  5. Other projects
Title Object type File name Summary
EntityResourceTestBase::testPatch function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a PATCH request for an entity, plus edge cases to ensure good DX.
EntityTestBundleResourceTestBase::$patchProtectedFieldNames property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
EntityTestComputedFieldNormalizerTest::testPatch function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
EntityTestComputedFieldTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
EntityTestLabelResourceTestBase::$patchProtectedFieldNames property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
EntityTestMapFieldResourceTestBase::$patchProtectedFieldNames property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
EntityTestMapFieldTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/EntityTestMapFieldTest.php
EntityTestResourceTestBase::$patchProtectedFieldNames property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestResourceTestBase.php
EntityTestTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/EntityTestTest.php
EntityTypeListener::$eventDispatcher property core/lib/Drupal/Core/Entity/EntityTypeListener.php The event dispatcher.
EntityViewDisplayResourceTestBase::$patchProtectedFieldNames property core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php
event_dispatcher service core/core.services.yml Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher
ExportStorageManager::$eventDispatcher property core/lib/Drupal/Core/Config/ExportStorageManager.php The event dispatcher.
FeedResourceTestBase::$patchProtectedFieldNames property core/modules/aggregator/tests/src/Functional/Rest/FeedResourceTestBase.php
FeedTest::$patchProtectedFieldNames property core/modules/aggregator/tests/src/Functional/Jsonapi/FeedTest.php
FieldStorageDefinitionListener::$eventDispatcher property core/lib/Drupal/Core/Field/FieldStorageDefinitionListener.php The event dispatcher.
FileResourceTestBase::$patchProtectedFieldNames property core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php The fields that are protected against modification during PATCH requests.
FileResourceTestBase::getNormalizedPatchEntity function core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php Returns the normalized PATCH entity.
FileTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/FileTest.php
FileUploadHandler::$eventDispatcher property core/modules/file/src/Upload/FileUploadHandler.php The event dispatcher.
FileUploadResource::$eventDispatcher property core/modules/file/src/Plugin/rest/resource/FileUploadResource.php The event dispatcher to dispatch the filename sanitize event.
FileUploadTest::testPatchIndividual function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @requires module irrelevant_for_this_test
FormBuilder::$eventDispatcher property core/lib/Drupal/Core/Form/FormBuilder.php The event dispatcher.
FormTestBase::$eventDispatcher property core/tests/Drupal/Tests/Core/Form/FormTestBase.php The event dispatcher.
GotoAction::$dispatcher property core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php The event dispatcher service.
HtmlRenderer::$eventDispatcher property core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php The event dispatcher.
ImportStorageTransformer::$eventDispatcher property core/lib/Drupal/Core/Config/ImportStorageTransformer.php The event dispatcher to get changes to the configuration.
ItemResourceTestBase::$patchProtectedFieldNames property core/modules/aggregator/tests/src/Functional/Rest/ItemResourceTestBase.php
ItemTest::$patchProtectedFieldNames property core/modules/aggregator/tests/src/Functional/Jsonapi/ItemTest.php
ItemTest::testPatchIndividual function core/modules/aggregator/tests/src/Functional/Jsonapi/ItemTest.php
JsonApiFunctionalMultilingualTest::testPatchTranslation function core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php Tests updating a translation.
JsonApiFunctionalMultilingualTest::testPatchTranslationFallback function core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalMultilingualTest.php Tests updating a translation fallback.
JsonApiRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures PATCHing datetime (both date-only & date+time) fields is possible.
JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensures datetime fields are normalized using the correct timezone.
JsonApiRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure PATCHing a non-existing field property results in a helpful error.
JsonApiRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Ensure includes are respected even when PATCHing.
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
MediaResourceTestBase::getNormalizedPatchEntity function core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/MediaTest.php
MenuLinkContentResourceTestBase::$patchProtectedFieldNames property core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php
MenuLinkContentTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/MenuLinkContentTest.php
MessageResourceTestBase::testPatch function core/modules/contact/tests/src/Functional/Rest/MessageResourceTestBase.php
MessageTest::testPatchIndividual function core/modules/jsonapi/tests/src/Functional/MessageTest.php
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.

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