You are here

function _views_navigation_query_is_supported in Views navigation 7

Function for check views navigation query is supported.

Parameters

object $query: The views object.

Return value

bool Whether the query type is supported.

2 calls to _views_navigation_query_is_supported()
views_navigation_get_cached_query in ./views_navigation.inc
Get a view query from cache.
views_navigation_store_query in ./views_navigation.inc
Store a view query in cache.

File

./views_navigation.inc, line 351
Views navigation main include file.

Code

function _views_navigation_query_is_supported($query) {
  $plugin = _views_navigation_get_query_plugin($query);
  return isset($plugin);
}