function QueueSerializationTest::process

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php \Drupal\KernelTests\Core\Queue\QueueSerializationTest::process()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Queue/QueueSerializationTest.php \Drupal\KernelTests\Core\Queue\QueueSerializationTest::process()
  3. 10 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 50

Class

QueueSerializationTest
Tests serializing a form with an injected DatabaseQueue instance.

Namespace

Drupal\KernelTests\Core\Queue

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.