You are here

public function DeployPlan::getEntities in Deploy - Content Staging 7.2

Same name and namespace in other branches
  1. 7.3 includes/DeployPlan.inc \DeployPlan::getEntities()

Returns the entities to be deployed by this plan.

Return value

array() An array of entities structured as follows:

$entities = array(
  'node' => array(
    10 => TRUE,
    12 => array(
      'taxonomy_term' => array(
        14 => TRUE,
      ),
      'user' => array(
        8 => TRUE,
      ),
    ),
  ),
  'taxonomy_term' => array(
    16 => TRUE,
  ),
);

File

includes/DeployPlan.inc, line 232
Definition of a deployment plan and associated exceptions.

Class

DeployPlan
Class representing a deployment plan.

Code

public function getEntities() {
  if (empty($this->aggregator)) {
    $this
      ->init();
  }
  return $this->aggregator
    ->getEntities();
}