You are here

function theme_serial_default in Serial Field 8

Theme function for the serial default.

Parameters

array $variables: Theme variables.

Return value

array Theme variables.

1 theme call to theme_serial_default()
SerialDefaultFormatter::viewElements in src/Plugin/Field/FieldFormatter/SerialDefaultFormatter.php
Builds a renderable array for a field value.

File

./serial.module, line 95
The Serial module main file.

Code

function theme_serial_default(array $variables) {
  return $variables['serial_id'];
}