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