public function TBMegaMenuBlock::__construct in The Better Mega Menu 8
Same name in this branch
- 8 src/Plugin/Derivative/TBMegaMenuBlock.php \Drupal\tb_megamenu\Plugin\Derivative\TBMegaMenuBlock::__construct()
- 8 src/Plugin/Block/TBMegaMenuBlock.php \Drupal\tb_megamenu\Plugin\Block\TBMegaMenuBlock::__construct()
Same name and namespace in other branches
- 2.x src/Plugin/Derivative/TBMegaMenuBlock.php \Drupal\tb_megamenu\Plugin\Derivative\TBMegaMenuBlock::__construct()
TBMegaMenuBlock constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Config factory interface.
File
- src/
Plugin/ Derivative/ TBMegaMenuBlock.php, line 37
Class
- TBMegaMenuBlock
- Provides blocks which belong to TB Mega Menu.
Namespace
Drupal\tb_megamenu\Plugin\DerivativeCode
public function __construct(ConfigFactoryInterface $configFactory, EntityTypeManagerInterface $entityTypeManager) {
$this->configFactory = $configFactory;
$this->entityTypeManager = $entityTypeManager;
}