You are here

public function EntityMetadataWrapperIterator::hasChildren in Entity API 7

File

includes/entity.wrapper.inc, line 1231
Provides wrappers allowing easy usage of the entity metadata.

Class

EntityMetadataWrapperIterator
Allows to easily iterate over existing child wrappers.

Code

public function hasChildren() {
  return $this
    ->current() instanceof IteratorAggregate;
}