public function DisplaySettingsCopier::__construct in Field tools 8
Constructs a new FieldCloner.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- src/
DisplaySettingsCopier.php, line 37
Class
- DisplaySettingsCopier
- Contains methods for cloning displays.
Namespace
Drupal\field_toolsCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler) {
$this->entityTypeManager = $entity_type_manager;
$this->moduleHandler = $module_handler;
}