You are here

public function EntityDisplayFormBase::reduceOrder in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::reduceOrder()

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, will be removed before Drupal 9.0.0.

File

core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 705
Contains \Drupal\field_ui\Form\EntityDisplayFormBase.

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

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