You are here

public function YamlForm::toUrl in YAML Form 8

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

Overrides ConfigEntityBase::toUrl

File

src/Entity/YamlForm.php, line 1409

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

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