function drupal_static in Facets 8
Mocks the usage of drupal static.
See also
\drupal_static
4 calls to drupal_static()
- QueryString::getFacetIdByUrlAlias in src/
Plugin/ facets/ url_processor/ QueryString.php - Gets the facet id from the url alias & facet source id.
- QueryString::getRequestByFacetSourcePath in src/
Plugin/ facets/ url_processor/ QueryString.php - Gets a request object based on the facet source path.
- QueryString::getUrlAliasByFacetId in src/
Plugin/ facets/ url_processor/ QueryString.php - Gets the url alias from the facet id & facet source id.
- QueryString::getUrlForRequest in src/
Plugin/ facets/ url_processor/ QueryString.php - Gets the URL object for a request.
File
- tests/
src/ Unit/ Plugin/ url_processor/ QueryStringTest.php, line 469
Namespace
Drupal\Tests\facets\Unit\Plugin\url_processorCode
function &drupal_static($name, $default_value = NULL, $reset = FALSE) {
$data = [];
return $data;
}