You are here

public function YamlForm::link in YAML Form 8

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

Overrides ConfigEntityBase::link

1 call to YamlForm::link()
YamlForm::initElements in src/Entity/YamlForm.php
Initialize parse form elements.

File

src/Entity/YamlForm.php, line 1439

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

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