🇮🇳India @rshekhar

Account created on 13 November 2024, about 1 month ago
#

Recent comments

🇮🇳India rshekhar

Modify these two functions and it will work for Druapl 11.
path to the file:- addtoany\src\Form\AddToAnySettingsForm.php

public function __construct(
    ConfigFactoryInterface $config_factory,
    TypedConfigManagerInterface $typed_config_manager,
    ModuleHandlerInterface $module_handler,
    ExtensionList $module_extension_list,
    EntityTypeBundleInfoInterface $entity_type_bundle_info
  ) {
    parent::__construct($config_factory, $typed_config_manager);
    $this->moduleHandler = $module_handler;
    $this->moduleExtensionList = $module_extension_list;
    $this->entityTypeBundleInfo = $entity_type_bundle_info;
  }

  /**
   * {@inheritdoc}
   */
  public static function create(ContainerInterface $container)
  {
    return new static(
      $container->get('config.factory'),
      $container->get('config.typed'),
      $container->get('module_handler'),
      $container->get('extension.list.module'),
      $container->get('entity_type.bundle.info')
    );
  }
Production build 0.71.5 2024