protected function MappingForm::initConfiguration in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/Form/MappingForm.php \Drupal\bibcite_entity\Form\MappingForm::initConfiguration()
Init mapping configuration object.
Parameters
\Drupal\bibcite\Plugin\BibciteFormatInterface $bibcite_format: Format plugin instance.
1 call to MappingForm::initConfiguration()
- MappingForm::buildForm in modules/
bibcite_entity/ src/ Form/ MappingForm.php - Form constructor.
File
- modules/
bibcite_entity/ src/ Form/ MappingForm.php, line 212
Class
- MappingForm
- Format mapping form.
Namespace
Drupal\bibcite_entity\FormCode
protected function initConfiguration(BibciteFormatInterface $bibcite_format) {
$config_name = sprintf('bibcite_entity.mapping.%s', $bibcite_format
->getPluginId());
$this->config = $this
->configFactory()
->getEditable($config_name);
}