You are here

abstract protected function SortableTestTrait::sortableUpdate in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php \Drupal\FunctionalJavascriptTests\SortableTestTrait::sortableUpdate()
  2. 9 core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php \Drupal\FunctionalJavascriptTests\SortableTestTrait::sortableUpdate()

Define to provide any necessary callback following layout change.

Parameters

string $item: The HTML selector for the element to be moved.

string $from: The HTML selector for the previous container element.

null|string $to: The HTML selector for the target container.

File

core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php, line 26

Class

SortableTestTrait
Provides functions for simulating sort changes.

Namespace

Drupal\FunctionalJavascriptTests

Code

protected abstract function sortableUpdate($item, $from, $to = NULL);