public function Webform::toLink in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::toLink()
Overriding so that links to webform default to 'canonical' submission webform and not the back-end 'edit-form'.
Overrides EntityBase::toLink
File
- src/
Entity/ Webform.php, line 3068
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function toLink($text = NULL, $rel = 'canonical', array $options = []) {
return parent::toLink($text, $rel, $options);
}