You are here

public static function FooTable::processFooTable in FooTable 8.2

Processes a FooTable element.

Parameters

array $element: An associative array containing the properties and children of the container.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

array $complete_form: The complete form structure.

Return value

array The processed element.

File

src/Element/FooTable.php, line 49

Class

FooTable
Provides a render element for a FooTable.

Namespace

Drupal\footable\Element

Code

public static function processFooTable(&$element, FormStateInterface $form_state, &$complete_form) {
  unset($element['#sticky'], $element['#responsive']);
  return $element;
}