Search for onChange

  1. Search 7.x for onChange
  2. Search 8.9.x for onChange
  3. Search 10.3.x for onChange
  4. Search 11.x for onChange
  5. Other projects
Title Object type File name Summary
ArrayElement::onChange function core/lib/Drupal/Core/Config/Schema/ArrayElement.php
ColorConfigCacheInvalidator::onChange function core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.php Invalidate cache tags when a color theme config object changes.
ConfigEntityAdapter::onChange function core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php
ConfigImporter::$extensionChangelist property core/lib/Drupal/Core/Config/ConfigImporter.php List of extension changes to be processed by the import().
ConfigImporter::createExtensionChangelist function core/lib/Drupal/Core/Config/ConfigImporter.php Populates the extension change list.
ConfigImporter::getExtensionChangelist function core/lib/Drupal/Core/Config/ConfigImporter.php Gets a list changes for extensions.
ConfigImporter::hasUnprocessedConfigurationChanges function core/lib/Drupal/Core/Config/ConfigImporter.php Checks if there are any unprocessed configuration changes.
ContentEntityBase::$fieldsToSkipFromTranslationChangesCheck property core/lib/Drupal/Core/Entity/ContentEntityBase.php Local cache for fields to skip from the checking for translation changes.
ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns an array of field names to skip in ::hasTranslationChanges.
ContentEntityBase::hasTranslationChanges function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::onChange function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityChangedTest::testRevisionChanged function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Tests revisionable EntityChangedInterface functionality.
ContentEntityHasChangesTest::testHasTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests the correct functionality of the hasTranslationChanges() function.
ContentModerationState::getFieldsToSkipFromTranslationChangesCheck function core/modules/content_moderation/src/Entity/ContentModerationState.php Returns an array of field names to skip in ::hasTranslationChanges.
ContentTranslationUITestBase::doTestTranslationChanged function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Tests the basic translation workflow.
DateRangeItem::onChange function core/modules/datetime_range/src/Plugin/Field/FieldType/DateRangeItem.php
DateTimeItem::onChange function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php
EntityAdapter::onChange function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php
EntityAdapterUnitTest::testOnChange function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::onChange
EntityChangesDetectionTrait::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php Returns an array of field names to skip when checking for changes.
EntityDecoupledTranslationRevisionsTest::testMultipleTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that changes to multiple translations are handled correctly.
EntityReferenceItem::onChange function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
EntityReferenceWidgetTest::testFocusNotAppliedWithoutSelectionChange function core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php Tests that disabled media items don't capture focus on page load.
FieldableEntityInterface::onChange function core/lib/Drupal/Core/Entity/FieldableEntityInterface.php Reacts to changes to a field.
FieldLayoutTest::testRegionChanges function core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php Tests that changes to the regions still leave the fields visible.
ItemList::onChange function core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
LanguageItem::onChange function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php
Map::onChange function core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php
ModerationStateFieldItemList::onChange function core/modules/content_moderation/src/Plugin/Field/ModerationStateFieldItemList.php React to changes to a child property or item.
ShortcutTranslationUITest::doTestTranslationChanged function core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php Tests the basic translation workflow.
TextItemBase::onChange function core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php
TranslatableInterface::hasTranslationChanges function core/lib/Drupal/Core/Entity/TranslatableInterface.php Determines if the current translation of the entity has unsaved changes.
TraversableTypedDataInterface::onChange function core/lib/Drupal/Core/TypedData/TraversableTypedDataInterface.php React to changes to a child property or item.
UserPermissionsTest::testUserPermissionChanges function core/modules/user/tests/src/Functional/UserPermissionsTest.php Tests changing user permissions through the permissions pages.

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