You are here

protected property AutocompletionCallback::$contentType in Search Autocomplete 8

Same name and namespace in other branches
  1. 2.x src/Plugin/views/display/AutocompletionCallback.php \Drupal\search_autocomplete\Plugin\views\display\AutocompletionCallback::contentType

Overrides the content type of the data response, if needed.

Type: string

File

src/Plugin/views/display/AutocompletionCallback.php, line 68

Class

AutocompletionCallback
The plugin that handles Data response callbacks for REST resources.

Namespace

Drupal\search_autocomplete\Plugin\views\display

Code

protected $contentType = 'application/json';