You are here

public function ViewModeConfigInterface::getViewMode in Search API Pages 8

Gets the configured view mode for a given data source and bundle.

Parameters

string $dataSourceId: The data source id.

string $bundleId: The bundle id.

Return value

string The view mode machine name.

1 method overrides ViewModeConfigInterface::getViewMode()
ViewMode::getViewMode in src/Config/ViewMode.php
Gets the configured view mode for a given data source and bundle.

File

src/Config/ViewModeConfigInterface.php, line 18

Class

ViewModeConfigInterface

Namespace

Drupal\search_api_page\Config

Code

public function getViewMode($dataSourceId, $bundleId);