Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/Form/DeveloperAttributesSettingsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\apigee_edge\FieldAttributeConverter;
use Drupal\apigee_edge\FieldAttributeConverterInterface;
use Drupal\apigee_edge\Plugin\FieldStorageFormatManagerInterface;
use Drupal\field\Entity\FieldConfig;
use Drupal\field\FieldConfigInterface;
Expand Down Expand Up @@ -66,12 +66,18 @@ class DeveloperAttributesSettingsForm extends ConfigFormBase {
* Entity field manager service.
* @param \Drupal\apigee_edge\Plugin\FieldStorageFormatManagerInterface $field_storage_format_manager
* Field storage format manager service.
* @param \Drupal\apigee_edge\FieldAttributeConverter $field_attribute_converter
* @param \Drupal\apigee_edge\FieldAttributeConverterInterface $field_attribute_converter
* Field name to attribute name converted service.
* @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config_manager
* The typed config manager.
*/
public function __construct(ConfigFactoryInterface $config_factory, EntityFieldManagerInterface $entity_field_manager, FieldStorageFormatManagerInterface $field_storage_format_manager, FieldAttributeConverter $field_attribute_converter, TypedConfigManagerInterface $typed_config_manager) {
public function __construct(
ConfigFactoryInterface $config_factory,
EntityFieldManagerInterface $entity_field_manager,
FieldStorageFormatManagerInterface $field_storage_format_manager,
FieldAttributeConverterInterface $field_attribute_converter,
TypedConfigManagerInterface $typed_config_manager,
) {
parent::__construct($config_factory, $typed_config_manager);
$this->fieldAttributeConverter = $field_attribute_converter;
$this->entityFieldManager = $entity_field_manager;
Expand Down