You are here

public static function Bootstrap::apiSearchUrl in Express 8

Returns a documentation search URL for a given query.

Parameters

string $query: The query to search for.

Return value

string The complete URL to the documentation site.

1 call to Bootstrap::apiSearchUrl()
Bootstrap::deprecated in themes/contrib/bootstrap/src/Bootstrap.php
Logs and displays a warning about a deprecated function/method being used.

File

themes/contrib/bootstrap/src/Bootstrap.php, line 254
Contains \Drupal\bootstrap\Bootstrap.

Class

Bootstrap
The primary class for the Drupal Bootstrap base theme.

Namespace

Drupal\bootstrap

Code

public static function apiSearchUrl($query = '') {
  return self::PROJECT_DOCUMENTATION . '/api/bootstrap/' . self::PROJECT_BRANCH . '/search/' . Html::escape($query);
}