Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FieldUiTable.php

function FieldUiTable::getInfo

Overrides Table::getInfo

File

core/modules/field_ui/src/Element/FieldUiTable.php, line 19

Class

FieldUiTable
Provides a field_ui table element.

Namespace

Drupal\field_ui\Element

Code

public function getInfo() {
    $info = parent::getInfo();
    $info['#regions'] = [
        '' => [],
    ];
    $info['#theme'] = 'field_ui_table';
    // Prepend FieldUiTable's prerender callbacks.
    array_unshift($info['#pre_render'], [
        $this,
        'tablePreRender',
    ], [
        $this,
        'preRenderRegionRows',
    ]);
    return $info;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal