Same name in other branches
- 8.x-3.x src/Controller/QuickTabsController.php \Drupal\quicktabs\Controller\QuickTabsController::__construct()
Creates a BlockComponentRenderArray object.
Parameters
\Drupal\quicktabs\TabTypeManager $tab_type: The tab type manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
-
src/
Controller/ QuickTabsController.php, line 39
Class
- QuickTabsController
- Provides a controller for content retrieved through AJAX.
Namespace
Drupal\quicktabs\ControllerCode
public function __construct(TabTypeManager $tab_type, EntityTypeManagerInterface $entity_type_manager) {
$this->tabTypeManager = $tab_type;
$this->entityTypeManager = $entity_type_manager;
}