Same name in other branches
  1. 8.x-3.x src/Controller/QuickTabsController.php \Drupal\quicktabs\Controller\QuickTabsController::__construct()

Creates a BlockComponentRenderArray object.

Paramètres

\Drupal\quicktabs\TabTypeManager $tab_type: The tab type manager.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

Fichier

src/Controller/QuickTabsController.php, line 39

Classe

QuickTabsController
Provides a controller for content retrieved through AJAX.

Namespace

Drupal\quicktabs\Controller

Code

public function __construct(TabTypeManager $tab_type, EntityTypeManagerInterface $entity_type_manager) {
    $this->tabTypeManager = $tab_type;
    $this->entityTypeManager = $entity_type_manager;
}