You are here

public function ViewModeConfigInterface::getDefaultViewMode in Search API Pages 8

Gets the default view mode for a given data source.

Parameters

string $dataSourceId: The data source id.

Return value

string The view mode machine name.

1 method overrides ViewModeConfigInterface::getDefaultViewMode()
ViewMode::getDefaultViewMode in src/Config/ViewMode.php
Gets the default view mode for a given data source.

File

src/Config/ViewModeConfigInterface.php, line 29

Class

ViewModeConfigInterface

Namespace

Drupal\search_api_page\Config

Code

public function getDefaultViewMode($dataSourceId);