function ViewsConfigUpdater::needsTimestampFormatterTimeDiffUpdate

Updates the timestamp fields settings by adding time diff and tooltip.

Parameters

\Drupal\views\ViewEntityInterface $view: The View to update.

Return value

bool Whether the view was updated.

File

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

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

public function needsTimestampFormatterTimeDiffUpdate(ViewEntityInterface $view) : bool {
    return $this->processDisplayHandlers($view, TRUE, function (array &$handler, string $handler_type) : bool {
        return $this->processTimestampFormatterTimeDiffUpdateHandler($handler, $handler_type);
    });
}

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