You are here

public function BusinessRulesItemPluginBase::getEditUrl in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Plugin/BusinessRulesItemPluginBase.php \Drupal\business_rules\Plugin\BusinessRulesItemPluginBase::getEditUrl()

Get the redirect url for the item edit-form route.

Parameters

\Drupal\business_rules\ItemInterface $item: The business rule item.

Return value

\Drupal\Core\Url The Url.

Overrides BusinessRulesItemPluginInterface::getEditUrl

File

src/Plugin/BusinessRulesItemPluginBase.php, line 86

Class

BusinessRulesItemPluginBase
Base Class for Business rules plugins.

Namespace

Drupal\business_rules\Plugin

Code

public function getEditUrl(ItemInterface $item) {
  return $item
    ->urlInfo('edit-form');
}