Same name and namespace in other branches
  1. 8.x-1.x src/Plugin/QuickContent/QuickViewContent.php \Drupal\quicktabs\Plugin\QuickContent\QuickViewContent::getAjaxKeys()

Returns an array of keys to use for constructing the correct arguments for an ajax callback to retrieve content of this type. The order of the keys returned affects the order of the args passed in to the render method when called via ajax (see the render() method above).

Overrides QuickContentRenderable::getAjaxKeys

File

plugins/QuickViewContent.inc, line 147

Class

QuickViewContent
Class for tab content of type "view" - this is for rendering a view as tab content.

Code

public function getAjaxKeys() {
    return array(
        'vid',
        'display',
        'view_dom_id',
        'view_path',
        'ajax_args',
    );
}