public function TaxonomyViewsIntegratorManager::getRequestUriArguments in Taxonomy Views Integrator 8
Return an array of arguments from the URI.
It is assumed tha URI will be taxonomy/term/{taxonomy_term}, so anything after that will be returned.
Return value
array Views arguments.
1 call to TaxonomyViewsIntegratorManager::getRequestUriArguments()
- TaxonomyViewsIntegratorManager::getTaxonomyTermView in src/
Service/ TaxonomyViewsIntegratorManager.php - Return the taxonomy term View per taxonomy view integrator settings.
File
- src/
Service/ TaxonomyViewsIntegratorManager.php, line 122
Class
- TaxonomyViewsIntegratorManager
- Default implementation of TaxonomyViewsIntegratorManagerInterface.
Namespace
Drupal\tvi\ServiceCode
public function getRequestUriArguments() {
return array_slice(explode('/', $this->requestStack
->getCurrentRequest()
->getRequestUri()), 3);
}