You are here

public function EntityDisplayFormBase::tablePreRender in Zircon Profile 8.0

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

Performs pre-render tasks on field_ui_table elements.

Parameters

array $elements: A structured array containing two sub-levels of elements. Properties used:

  • #tabledrag: The value is a list of $options arrays that are passed to drupal_attach_tabledrag(). The HTML ID of the table is added to each $options array.

Return value

array

Deprecated

in Drupal 8.0.0, will be removed before Drupal 9.0.0.

See also

drupal_render()

\Drupal\Core\Render\Element\Table::preRenderTable()

File

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

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

public function tablePreRender($elements) {
  return FieldUiTable::tablePreRender($elements);
}