You are here

public function SearchApiPage::getViewModeConfig in Search API Pages 8

Get the view mode configuration object.

Return value

\Drupal\search_api_page\Config\ViewMode

Overrides SearchApiPageInterface::getViewModeConfig

File

src/Entity/SearchApiPage.php, line 264

Class

SearchApiPage
Defines the Search page entity.

Namespace

Drupal\search_api_page\Entity

Code

public function getViewModeConfig() {
  return new ViewMode($this->view_mode_configuration);
}