EntityDisplayFormBase::tablePreRender

public EntityDisplayFormBase::tablePreRender($elements)

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 688

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

public function tablePreRender($elements) {
  return FieldUiTable::tablePreRender($elements);
}
doc_Drupal
2016-10-29 09:05:26
Comments
Leave a Comment

Please login to continue.