You are here

public function FieldAttributeConverter::__construct in Apigee Edge 8

FieldNameToAttributeNameConverter constructor.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager service.

\Drupal\apigee_edge\Plugin\FieldStorageFormatManagerInterface $format_manager: The field formatter service.

\Drupal\Core\Config\ConfigFactoryInterface $config: Config factory service.

File

src/FieldAttributeConverter.php, line 72

Class

FieldAttributeConverter
Default field-attribute converter service implementation.

Namespace

Drupal\apigee_edge

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager, FieldStorageFormatManagerInterface $format_manager, ConfigFactoryInterface $config) {
  $this->config = $config;
  $this->entityFieldManager = $entity_field_manager;
  $this->formatManager = $format_manager;
}