Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
As title.
Proposed resolution
For example:
- $this->assertFalse(array_key_exists("data-entity-uuid", $htmlRestrictions['allowed']['a']));
+ $this->assertArrayNotHasKey("data-entity-uuid", $htmlRestrictions['allowed']['a']);
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#3 | entity_embed-replace_array_key_exists_with_assertArrayNotHasKey-3135896-2.patch | 947 bytes | mero.S |
|
Comments
Comment #2
mero.S CreditAttribution: mero.S as a volunteer and at AnyforSoft for AnyforSoft commentedComment #3
mero.S CreditAttribution: mero.S as a volunteer and at AnyforSoft for AnyforSoft commentedComment #4
mero.S CreditAttribution: mero.S as a volunteer and at AnyforSoft for AnyforSoft commentedComment #5
novchuk.v CreditAttribution: novchuk.v commentedLooks good to me!
Comment #6
phenaproxima+1 for RTBC, looks right to me.
Comment #8
Dave ReidCommitted #3 to 8.x-1.x.