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