NestedArray

Provides helpers to perform operations on nested arrays and array keys of variable depth.

Hierarchy

Related topics

Utility classes and functions
Overview of utility classes and functions for developers.

File

core/lib/Drupal/Component/Utility/NestedArray.php, line 10

Namespace

Drupal\Component\Utility

Members

Name Modifiers Type Description
NestedArray::filter public static function Filters a nested array recursively.
NestedArray::getValue public static function Retrieves a value from a nested array with variable depth.
NestedArray::keyExists public static function Determines whether a nested array contains the requested keys.
NestedArray::mergeDeep public static function Merges multiple arrays, recursively, and returns the merged array.
NestedArray::mergeDeepArray public static function Merges multiple arrays, recursively, and returns the merged array.
NestedArray::setValue public static function Sets a value in a nested array with variable depth.
NestedArray::unsetValue public static function Unsets a value in a nested array with variable depth.
doc_Drupal
2016-10-29 09:30:07
Comments
Leave a Comment

Please login to continue.