You are here

public static function ViewsBootstrap::getColumnPrefix in Views Bootstrap 8.4

Get column class prefix for the breakpoint.

File

src/ViewsBootstrap.php, line 89

Class

ViewsBootstrap
The primary class for the Views Bootstrap module.

Namespace

Drupal\views_bootstrap

Code

public static function getColumnPrefix($breakpoint) {
  return 'col' . ($breakpoint != 'xs' ? '-' . $breakpoint : '');
}