interface TaxonomyViewsIntegratorManagerInterface in Taxonomy Views Integrator 8
Define API for returning a view assigned to a taxonomy term or vocabulary.
Hierarchy
- interface \Drupal\tvi\Service\TaxonomyViewsIntegratorManagerInterface
Expanded class hierarchy of TaxonomyViewsIntegratorManagerInterface
All classes that implement TaxonomyViewsIntegratorManagerInterface
2 files declare their use of TaxonomyViewsIntegratorManagerInterface
- RouteEnhancer.php in src/
Enhancer/ RouteEnhancer.php - TaxonomyViewsIntegratorTermPageController.php in src/
Controller/ TaxonomyViewsIntegratorTermPageController.php
File
- src/
Service/ TaxonomyViewsIntegratorManagerInterface.php, line 10
Namespace
Drupal\tvi\ServiceView source
interface TaxonomyViewsIntegratorManagerInterface {
/**
* Return the taxonomy term View per taxonomy view integrator settings.
*
* @param \Drupal\taxonomy\TermInterface $taxonomy_term
* The term to render the view for.
*
* @return array
* Views results render array.
*/
public function getTaxonomyTermView(TermInterface $taxonomy_term);
/**
* Return array with view and display id for current term based on settings.
*
* @param \Drupal\taxonomy\TermInterface $taxonomy_term
* An object with term entity.
*
* @return array
* An array with view_id and display_id for current term.
*/
public function getTaxonomyTermViewAndDisplayId(TermInterface $taxonomy_term);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TaxonomyViewsIntegratorManagerInterface:: |
public | function | Return the taxonomy term View per taxonomy view integrator settings. | 1 |
TaxonomyViewsIntegratorManagerInterface:: |
public | function | Return array with view and display id for current term based on settings. | 1 |