protected function YamlFormEntityExportForm::getConfigName in YAML Form 8
Get the form's config file name (without *.yml).
Return value
string The form's config file name (without *.yml).
3 calls to YamlFormEntityExportForm::getConfigName()
- YamlFormEntityExportForm::form in modules/
yamlform_devel/ src/ Form/ YamlFormEntityExportForm.php - Gets the actual form array to be built.
- YamlFormEntityExportForm::getYaml in modules/
yamlform_devel/ src/ Form/ YamlFormEntityExportForm.php - Get the form's raw data.
- YamlFormEntityExportForm::submitForm in modules/
yamlform_devel/ src/ Form/ YamlFormEntityExportForm.php - This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
File
- modules/
yamlform_devel/ src/ Form/ YamlFormEntityExportForm.php, line 75
Class
- YamlFormEntityExportForm
- Export form configuration.
Namespace
Drupal\yamlform_devel\FormCode
protected function getConfigName() {
/** @var \Drupal\yamlform\YamlFormInterface $yamlform */
$yamlform = $this->entity;
$definition = $this->entityTypeManager
->getDefinition('yamlform');
return $definition
->getConfigPrefix() . '.' . $yamlform
->getConfigTarget();
}