public function YamlForm::url 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::url
File
- src/
Entity/ YamlForm.php, line 1398
Class
- YamlForm
- Defines the form entity.
Namespace
Drupal\yamlform\EntityCode
public function url($rel = 'canonical', $options = []) {
// Do not remove this override: the default value of $rel is different.
return parent::url($rel, $options);
}