You are here

public function QueueSerializationTest::process in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php \Drupal\KernelTests\Core\Queue\QueueSerializationTest::process()

Process callback.

Parameters

array $element: Form element

Return value

array Processed element.

File

core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php, line 51

Class

QueueSerializationTest
Tests serializing a form with an injected DatabaseQueue instance.

Namespace

Drupal\KernelTests\Core\Queue

Code

public function process($element) {
  return $element;
}