You are here

public function FieldGroupFormatterInterface::preRender in Field Group 8

Same name and namespace in other branches
  1. 8.3 src/FieldGroupFormatterInterface.php \Drupal\field_group\FieldGroupFormatterInterface::preRender()

Allows the field group formatter to manipulate the field group array and attach the formatters rendering element.

Parameters

array $element: The field group render array.

object $rendering_object: The object / entity beïng rendered.

1 method overrides FieldGroupFormatterInterface::preRender()
FieldGroupFormatterBase::preRender in src/FieldGroupFormatterBase.php
Allows the field group formatter to manipulate the field group array and attach the formatters rendering element.

File

src/FieldGroupFormatterInterface.php, line 22

Class

FieldGroupFormatterInterface
Interface definition for fieldgroup formatter plugins.

Namespace

Drupal\field_group

Code

public function preRender(&$element, $rendering_object);