public function MultipleValuesGenerator::__construct in Computed Field 3.x
Class constructor.
Parameters
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
\Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_plugin_manager: The field type plugin manager.
File
- src/
MultipleValuesGenerator.php, line 53
Class
- MultipleValuesGenerator
- Service for generating missing values for multi-valued computed fields.
Namespace
Drupal\computed_fieldCode
public function __construct(EntityFieldManagerInterface $entity_field_manager, FieldTypePluginManagerInterface $field_type_plugin_manager) {
$this->entityFieldManager = $entity_field_manager;
$this->fieldTypePluginManager = $field_type_plugin_manager;
$this->entity = NULL;
}