You are here

public function DeployAggregatorBase::getIterator in Deploy - Content Staging 7.2

Same name and namespace in other branches
  1. 7.3 includes/DeployAggregator.inc \DeployAggregatorBase::getIterator()

Returns a DeployIteratorIterator, which can iterate through recursive iterators

Return value

DeployIteratorIterator

File

includes/DeployAggregator.inc, line 111
Interface definition for deploy aggregators.

Class

DeployAggregatorBase
Base class implementing the DeployAggregator interface. All aggregator plugins should extend this class.

Code

public function getIterator() {
  $entities = $this
    ->getEntities();
  return deploy_iterator($entities, $this->plan);
}