You are here

public function YamlForm::toLink in YAML Form 8

Overriding so that links to form default to 'canonical' submission form and not the back-end 'edit-form'.

Overrides EntityBase::toLink

File

src/Entity/YamlForm.php, line 1429

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

public function toLink($text = NULL, $rel = 'canonical', array $options = []) {
  return parent::toLink($text, $rel, $options);
}