You are here

protected function WebformEntityListBuilder::ensureDestination in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformEntityListBuilder.php \Drupal\webform\WebformEntityListBuilder::ensureDestination()

Ensures that a destination is present on the given URL.

Parameters

\Drupal\Core\Url $url: The URL object to which the destination should be added.

Return value

\Drupal\Core\Url The updated URL object.

Overrides EntityListBuilder::ensureDestination

1 call to WebformEntityListBuilder::ensureDestination()
WebformEntityListBuilder::getDefaultOperations in src/WebformEntityListBuilder.php
Gets this list's default operations.

File

src/WebformEntityListBuilder.php, line 638

Class

WebformEntityListBuilder
Defines a class to build a listing of webform entities.

Namespace

Drupal\webform

Code

protected function ensureDestination(Url $url) {

  // Never add a destination to operation URLs.
  return $url;
}