public function ContentTranslationRedirectInterface::setStatusCode in Content Translation Redirect 8
Sets the redirect status code.
Parameters
int $code: Redirect status code.
1 method overrides ContentTranslationRedirectInterface::setStatusCode()
- ContentTranslationRedirect::setStatusCode in src/
Entity/ ContentTranslationRedirect.php - Sets the redirect status code.
File
- src/
ContentTranslationRedirectInterface.php, line 18
Class
- ContentTranslationRedirectInterface
- Provides an interface defining an Content Translation Redirect entity.
Namespace
Drupal\content_translation_redirectCode
public function setStatusCode($code);