You are here

public function AutocompletionCallback::getContentType 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::getContentType()

Gets the content type.

Return value

string The content type machine name. E.g. 'json'.

File

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

Class

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

Namespace

Drupal\search_autocomplete\Plugin\views\display

Code

public function getContentType() {
  return $this->contentType;
}