public function BusinessRulesItemPluginBase::getRedirectUrl in Business Rules 8
Same name and namespace in other branches
- 2.x src/Plugin/BusinessRulesItemPluginBase.php \Drupal\business_rules\Plugin\BusinessRulesItemPluginBase::getRedirectUrl()
Get the redirect url for the item collection route.
Parameters
\Drupal\business_rules\ItemInterface $item: The item go get the Url.
Return value
\Drupal\Core\Url The Url.
Overrides BusinessRulesItemPluginInterface::getRedirectUrl
File
- src/
Plugin/ BusinessRulesItemPluginBase.php, line 79
Class
- BusinessRulesItemPluginBase
- Base Class for Business rules plugins.
Namespace
Drupal\business_rules\PluginCode
public function getRedirectUrl(ItemInterface $item) {
return $item
->urlInfo('collection');
}