You are here

public function FieldGroupFormatterInterface::process in Field Group 8.3

Allows the field group formatter to manipulate the field group array and attach the formatters elements. The process method is called in the #process part of theme layer, and is currently used for forms. The preRender method is called in the #pre_render part of the theme layer, and is currently used for entity displays.

Parameters

array $element: The field group render array.

object $processed_object: The object / entity beïng processed.

1 method overrides FieldGroupFormatterInterface::process()
FieldGroupFormatterBase::process in src/FieldGroupFormatterBase.php
Allows the field group formatter to manipulate the field group array and attach the formatters elements. The process method is called in the #process part of theme layer, and is currently used for forms. The preRender method is called in the…

File

src/FieldGroupFormatterInterface.php, line 24

Class

FieldGroupFormatterInterface
Interface definition for fieldgroup formatter plugins.

Namespace

Drupal\field_group

Code

public function process(&$element, $processed_object);