public function TaxonomyViewsIntegratorManager::getVocabularyConfigSettings in Taxonomy Views Integrator 8
Get the taxonomy view integrator settings for this terms vocabulary entity.
Parameters
\Drupal\taxonomy\TermInterface $taxonomy_term: Active taxonomy term.
Return value
\Drupal\Core\Config\Config TVI config for the vocabulary.
1 call to TaxonomyViewsIntegratorManager::getVocabularyConfigSettings()
- TaxonomyViewsIntegratorManager::getTaxonomyTermViewAndDisplayId in src/
Service/ TaxonomyViewsIntegratorManager.php - Return array with view and display id for current term based on settings.
File
- src/
Service/ TaxonomyViewsIntegratorManager.php, line 86
Class
- TaxonomyViewsIntegratorManager
- Default implementation of TaxonomyViewsIntegratorManagerInterface.
Namespace
Drupal\tvi\ServiceCode
public function getVocabularyConfigSettings(TermInterface $taxonomy_term) {
return $this->config
->get('tvi.taxonomy_vocabulary.' . $taxonomy_term
->bundle());
}