protected function WebformEntityListBuilder::ensureDestination in Webform 8.5
Same name and namespace in other branches
- 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\webformCode
protected function ensureDestination(Url $url) {
// Never add a destination to operation URLs.
return $url;
}