private function MailEditTemplateForm::getConfig in Mail Editor 8
Extract the email's config object name from an email ID.
Parameters
string $id: A string in the format 'MODULENAME.CONFIGNAME.TEMPLATENAME'.
Return value
\Drupal\Core\Config\Config A full config object.
1 call to MailEditTemplateForm::getConfig()
- MailEditTemplateForm::getTemplate in src/
Form/ MailEditTemplateForm.php - Load an email template from a combination string.
File
- src/
Form/ MailEditTemplateForm.php, line 167
Class
- MailEditTemplateForm
- Edit an email template.
Namespace
Drupal\mail_edit\FormCode
private function getConfig($id) {
return $this
->config($this
->getConfigName($id));
}