public function ContentEntityBase::getIterator in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::getIterator()
- 9 core/lib/Drupal/Core/Entity/ContentEntityBase.php \Drupal\Core\Entity\ContentEntityBase::getIterator()
File
- core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php, line 662
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\EntityCode
public function getIterator() {
return new \ArrayIterator($this
->getFields());
}