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.
Similarly to assertFieldById
, I’d like to have a assertNoFieldById
that checks whether the field does not exist.
Comment | File | Size | Author |
---|---|---|---|
#3 | simpletest_assert_no_field.patch | 2.53 KB | boombatower |
#2 | simpletest_assert_no_field.patch | 2.54 KB | boombatower |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedThis should be in 7.x.
Comment #2
boombatower CreditAttribution: boombatower commentedI have created a patch that I believe adds the requested feature.
Comment #3
boombatower CreditAttribution: boombatower commentedRe-rolled and committed.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.