function ViewsConfigUpdater::needsTableCssClassUpdate

Checks for table style views needing a default CSS table class value.

Parameters

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

Return value

bool TRUE if the view has any table styles that need to have a default table CSS class added.

File

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

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

public function needsTableCssClassUpdate(ViewEntityInterface $view) : bool {
    return $this->processDisplayHandlers($view, TRUE, function (&$handler, $handler_type) use ($view) {
        return $this->processTableCssClassUpdate($view);
    });
}

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