Search for equals

  1. Search 7.x for equals
  2. Search 9.5.x for equals
  3. Search 10.3.x for equals
  4. Search 11.x for equals
  5. Other projects
Title Object type File name Summary
ConfigTest::assertConfigDataEquals function core/tests/Drupal/Tests/Core/Config/ConfigTest.php Asserts all config data equals $data provided.
ConfigTest::assertOriginalConfigDataEquals function core/tests/Drupal/Tests/Core/Config/ConfigTest.php Asserts all original config data equals $data provided.
Crypt::hashEquals function core/lib/Drupal/Component/Utility/Crypt.php Compares strings in constant time.
CryptTest::testHashEquals function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Legacy test of Drupal\Component\Utility\Crypt::hashEquals() method.
FieldItemList::equals function core/lib/Drupal/Core/Field/FieldItemList.php Determines equality to another object implementing FieldItemListInterface.
FieldItemListInterface::equals function core/lib/Drupal/Core/Field/FieldItemListInterface.php Determines equality to another object implementing FieldItemListInterface.
FieldItemListTest::providerTestEquals function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php Data provider for testEquals.
FieldItemListTest::testEquals function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::equals
FieldItemListTest::testEqualsEmptyItems function core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @covers ::equals
LayoutSectionItemList::equals function core/modules/layout_builder/src/Field/LayoutSectionItemList.php Determines equality to another object implementing FieldItemListInterface.
LayoutSectionItemListTest::testEquals function core/modules/layout_builder/tests/src/Kernel/LayoutSectionItemListTest.php @covers ::equals
LayoutSectionItemListTest::testEqualsNonSection function core/modules/layout_builder/tests/src/Kernel/LayoutSectionItemListTest.php @covers ::equals
MapFieldItemList::equals function core/lib/Drupal/Core/Field/MapFieldItemList.php Determines equality to another object implementing FieldItemListInterface.
MarkupInterfaceComparator::assertEquals function core/tests/Drupal/TestTools/Comparator/MarkupInterfaceComparator.php
MarkupInterfaceComparatorTest::testAssertEquals function core/tests/Drupal/KernelTests/Core/Test/Comparator/MarkupInterfaceComparatorTest.php @covers ::assertEquals
@dataProvider dataSetProvider
PhpunitCompatibilityTraitTest::testAssertEqualsCanonicalizing function core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tests that assert(Not)EqualsCanonicalizing methods are available.
TestCompatibilityTrait::assertEqualsCanonicalizing function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/TestCompatibilityTrait.php Forward compatibility for assertEqualsCanonicalizing.
TestCompatibilityTrait::assertEqualsCanonicalizing function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/TestCompatibilityTrait.php Forward compatibility for assertEqualsCanonicalizing.
TestCompatibilityTrait::assertNotEqualsCanonicalizing function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit7/TestCompatibilityTrait.php Forward compatibility for assertNotEqualsCanonicalizing.
TestCompatibilityTrait::assertNotEqualsCanonicalizing function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/TestCompatibilityTrait.php Forward compatibility for assertNotEqualsCanonicalizing.
UnitTestCase::assertArrayEquals function core/tests/Drupal/Tests/UnitTestCase.php Asserts if two arrays are equal by sorting them first.
ViewsDataTest::testGetAllEqualsToGetNull function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests that getting all data has same results as getting data with NULL
logic.
WebAssert::hiddenFieldValueEquals function core/tests/Drupal/Tests/WebAssert.php Checks that specific hidden field have provided value.
WebAssert::hiddenFieldValueNotEquals function core/tests/Drupal/Tests/WebAssert.php Checks that specific hidden field doesn't have the provided value.
WebAssert::titleEquals function core/tests/Drupal/Tests/WebAssert.php Pass if the page title is the given string.
WebDriverWebAssert::responseHeaderEquals function core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php The use of responseHeaderEquals() is not available.
WebDriverWebAssert::responseHeaderNotEquals function core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php The use of responseHeaderNotEquals() is not available.
WebDriverWebAssert::statusCodeEquals function core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php The use of statusCodeEquals() is not available.
WebDriverWebAssert::statusCodeNotEquals function core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php The use of statusCodeNotEquals() is not available.

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