public function YamlForm::isTemplate in YAML Form 8
Returns the form template indicator.
Return value
bool TRUE if the form is a template and available for duplication.
Overrides YamlFormInterface::isTemplate
1 call to YamlForm::isTemplate()
- YamlForm::preSave in src/
Entity/ YamlForm.php - Acts on an entity before the presave hook is invoked.
File
- src/
Entity/ YamlForm.php, line 317
Class
- YamlForm
- Defines the form entity.
Namespace
Drupal\yamlform\EntityCode
public function isTemplate() {
return $this->template ? TRUE : FALSE;
}