function ViewsConfigUpdater::needsRssViewModeUpdate

Checks for views needing a default RSS view mode.

Parameters

\Drupal\views\ViewEntityInterface $view: The view entity.

string|null $previous_view_mode: The previous view mode.

Return value

bool TRUE if the view has been updated.

File

core/modules/views/src/ViewsConfigUpdater.php, line 409

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

public function needsRssViewModeUpdate(ViewEntityInterface $view, ?string $previous_view_mode = NULL) : bool {
  return $this->processRssViewModeUpdate($view, $previous_view_mode);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.