Same name and namespace in other branches
  1. 8.x-1.x src/QuickSet.php \Drupal\quicktabs\QuickSet::getAjaxPath()

Returns an ajax path to be used on ajax-enabled tab links.

Parameters

$index The index of the tab, i.e where it fits into the QuickSet: instance.

$type The type of content we are providing an ajax path for.:

File

./quicktabs.classes.inc, line 155

Class

QuickSet
A QuickSet object is an unrendered Quicktabs instance, essentially just a container of content items, as defined by its configuration settings and the array of content items it contains.

Code

public function getAjaxPath($index, $type) {
    return 'quicktabs/ajax/' . $this->name . '/' . $index . '/' . $type;
}