Same name and namespace in other branches
  1. 7.x-3.x quicktabs.classes.inc \QuickSet::getAjaxPath()

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

Paramètres

$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.:

Fichier

src/QuickSet.php, line 159

Classe

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.

Namespace

Drupal\quicktabs

Code

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