Search for onChange

  1. Search 7.x for onChange
  2. Search 9.5.x for onChange
  3. Search 8.9.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 React to changes to a child property or item.
ConfigEntityAdapter::onChange function core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php React to changes to a child property or item.
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 React to changes to a child property or item.
DateTimeItem::onChange function core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php React to changes to a child property or item.
EntityAdapter::onChange function core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php React to changes to a child property or item.
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 React to changes to a child property or item.
LanguageItem::onChange function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php React to changes to a child property or item.
LocaleTranslationChangeProjectVersionTest class core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php Tests how translations are handled when a project gets updated.
LocaleTranslationChangeProjectVersionTest.php file core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php
LocaleTranslationChangeProjectVersionTest::$defaultTheme property core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php The theme to install as the default for testing.
LocaleTranslationChangeProjectVersionTest::setUp function core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php
LocaleTranslationChangeProjectVersionTest::testUpdateImportSourceRemote function core/modules/locale/tests/src/Functional/LocaleTranslationChangeProjectVersionTest.php Tests update translations when project version changes.
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.
SuperUserPermissionsTest::testPermissionChange function core/tests/Drupal/KernelTests/Core/Session/SuperUserPermissionsTest.php Tests the super user access policy grants all permissions.
TextItemBase::onChange function core/modules/text/src/Plugin/Field/FieldType/TextItemBase.php React to changes to a child property or item.
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.
UserRolesPermissionsTest::testPermissionChange function core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Tests that assigning a role grants that role's permissions.

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