public function FieldItemListInterface::equals in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::equals()
Determines equality to another object implementing FieldItemListInterface.
Parameters
\Drupal\Core\Field\FieldItemListInterface $list_to_compare: The field item list to compare to.
Return value
bool TRUE if the field item lists are equal, FALSE if not.
1 method overrides FieldItemListInterface::equals()
- FieldItemList::equals in core/
lib/ Drupal/ Core/ Field/ FieldItemList.php - Determines equality to another object implementing FieldItemListInterface.
File
- core/
lib/ Drupal/ Core/ Field/ FieldItemListInterface.php, line 275 - Contains \Drupal\Core\Field\FieldItemListInterface.
Class
- FieldItemListInterface
- Interface for fields, being lists of field items.
Namespace
Drupal\Core\FieldCode
public function equals(FieldItemListInterface $list_to_compare);