public function FieldRedirectionResult::shouldRedirect in Field Redirection 8.2
Returns TRUE if redirect should occur.
Return value
bool TRUE if redirect should occur.
1 call to FieldRedirectionResult::shouldRedirect()
- FieldRedirectionResult::getRedirectUrl in src/
FieldRedirectionResult.php - Gets redirect URL.
File
- src/
FieldRedirectionResult.php, line 43
Class
- FieldRedirectionResult
- Defines a value object for a field redirection result.
Namespace
Drupal\field_redirectionCode
public function shouldRedirect() {
return $this->shouldRedirect;
}