function ConfigTranslationFieldListBuilder::setMapperDefinition
Same name in other branches
- 9 core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationFieldListBuilder::setMapperDefinition()
- 8.9.x core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationFieldListBuilder::setMapperDefinition()
- 11.x core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php \Drupal\config_translation\Controller\ConfigTranslationFieldListBuilder::setMapperDefinition()
Overrides ConfigTranslationEntityListBuilder::setMapperDefinition
File
-
core/
modules/ config_translation/ src/ Controller/ ConfigTranslationFieldListBuilder.php, line 87
Class
- ConfigTranslationFieldListBuilder
- Defines the config translation list builder for field entities.
Namespace
Drupal\config_translation\ControllerCode
public function setMapperDefinition($mapper_definition) {
$this->baseEntityType = $mapper_definition['base_entity_type'];
$this->baseEntityInfo = $this->entityTypeManager
->getDefinition($this->baseEntityType);
$this->baseEntityBundles = $this->entityTypeBundleInfo
->getBundleInfo($this->baseEntityType);
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.