You are here

public function ApeTestController::redirect301 in Advanced Page Expiration 8

1 string reference to 'ApeTestController::redirect301'
ape_test.routing.yml in ape_test/ape_test.routing.yml
ape_test/ape_test.routing.yml

File

ape_test/src/Controller/ApeTestController.php, line 22

Class

ApeTestController
Controller for ape testing.

Namespace

Drupal\ape_test\Controller

Code

public function redirect301() {
  return $this
    ->redirect('ape.redirect.landing', [], [], 301);
}