You are here

public function FeaturesManagerInterface::mergeInfoArray in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/FeaturesManagerInterface.php \Drupal\features\FeaturesManagerInterface::mergeInfoArray()

Merges two info arrays and processes the resulting array.

Ensures values are unique and sorted.

@fixme Should this be moved to the package object or a related helper?

Parameters

array $info1: The first array.

array $info2: The second array.

string[] $keys: Keys to merge. If not specified, all keys present will be merged.

Return value

array An array with the merged and processed results.

1 method overrides FeaturesManagerInterface::mergeInfoArray()
FeaturesManager::mergeInfoArray in src/FeaturesManager.php
Merges two info arrays and processes the resulting array.

File

src/FeaturesManagerInterface.php, line 422

Class

FeaturesManagerInterface
Provides an interface for the FeaturesManager.

Namespace

Drupal\features

Code

public function mergeInfoArray(array $info1, array $info2, array $keys = []);