public function BehaviorSettingsInterface::setRedirectCode in Rabbit Hole 2.x
Same name and namespace in other branches
- 8 src/BehaviorSettingsInterface.php \Drupal\rabbit_hole\BehaviorSettingsInterface::setRedirectCode()
Set the redirect code if action is redirect.
Parameters
int $redirect_code: The redirect code (0 for N/A).
1 method overrides BehaviorSettingsInterface::setRedirectCode()
- BehaviorSettings::setRedirectCode in src/
Entity/ BehaviorSettings.php - @todo Possibly this should instead rely on the redirect plugin?
File
- src/
BehaviorSettingsInterface.php, line 51
Class
- BehaviorSettingsInterface
- Provides an interface for defining Behavior settings entities.
Namespace
Drupal\rabbit_holeCode
public function setRedirectCode($redirect_code);