public function MappingFieldsHelper::__construct in Gutenberg 8.2
EntityTypePresave constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Psr\Log\LoggerInterface $logger: The Gutenberg logger.
File
- src/
MappingFieldsHelper.php, line 47
Class
- MappingFieldsHelper
- Handles the mappingFields configuration manipulation.
Namespace
Drupal\gutenbergCode
public function __construct(ConfigFactoryInterface $config_factory, LoggerInterface $logger) {
$this->logger = $logger;
$this->configFactory = $config_factory;
}