You are here

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

Same name and namespace in other branches
  1. 7.2 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,
  ),
);
1 call to DeployPlan::getEntities()
DeployPlan::emptyPlan in includes/DeployPlan.inc
Flattens a deployment plan by removing duplicated entities.

File

includes/DeployPlan.inc, line 283
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();
}