Skip to content

Instantly share code, notes, and snippets.

diff --git a/js/entity_browser.entity_reference.js b/js/entity_browser.entity_reference.js
index e3e343e..836bf5f 100644
--- a/js/entity_browser.entity_reference.js
+++ b/js/entity_browser.entity_reference.js
@@ -19,6 +19,15 @@
stop: Drupal.entityBrowserEntityReference.entitiesReordered
});
});
+
+ $(context).find('[data-entity-browser-entities-list] .remove-button').each(function () {
@dbosen
dbosen / performance.patch
Created November 18, 2019 16:48
performance test
diff --git a/core/lib/Drupal/Core/Entity/ContentEntityBase.php b/core/lib/Drupal/Core/Entity/ContentEntityBase.php
index 19ad14fca9..f5e9f5127c 100644
--- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php
+++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php
@@ -176,6 +176,27 @@ abstract class ContentEntityBase extends EntityBase implements \IteratorAggregat
*/
protected $enforceRevisionTranslationAffected = [];
+ /**
+ * The revision_parent revision metadata key.