Redirects
DrevOps\BehatSteps\Steps\Drupal\RedirectTrait - Source, Steps
Manage Drupal redirect entities provided by the contrib
redirectmodule.
public function redirectCreate(string $from, string $to, int $status_code = 301): EntityStubInterface
Create a redirect
public function redirectDelete(string $from): void
Delete the redirects from a source path
public function redirectExists(string $from, ?string $to = NULL, ?int $status_code = NULL): bool
Check whether a redirect exists