You are here

public function EntityDisplayFormBase::reduceOrder in Drupal 8

Determines the rendering order of an array representing a tree.

Callback for array_reduce() within \Drupal\field_ui\Form\EntityDisplayFormBase::tablePreRender().

Deprecated

in drupal:8.0.0 and is removed from drupal:9.0.0.

File

core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 754

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

public function reduceOrder($array, $a) {
  return FieldUiTable::reduceOrder($array, $a);
}