You are here

public function TaxonomyViewsIntegratorManagerInterface::getTaxonomyTermViewAndDisplayId in Taxonomy Views Integrator 8

Return array with view and display id for current term based on settings.

Parameters

\Drupal\taxonomy\TermInterface $taxonomy_term: An object with term entity.

Return value

array An array with view_id and display_id for current term.

1 method overrides TaxonomyViewsIntegratorManagerInterface::getTaxonomyTermViewAndDisplayId()
TaxonomyViewsIntegratorManager::getTaxonomyTermViewAndDisplayId in src/Service/TaxonomyViewsIntegratorManager.php
Return array with view and display id for current term based on settings.

File

src/Service/TaxonomyViewsIntegratorManagerInterface.php, line 32

Class

TaxonomyViewsIntegratorManagerInterface
Define API for returning a view assigned to a taxonomy term or vocabulary.

Namespace

Drupal\tvi\Service

Code

public function getTaxonomyTermViewAndDisplayId(TermInterface $taxonomy_term);