You are here

public function MixitupFunc::isMixitupInstalled in MixItUp Views 8

Same name and namespace in other branches
  1. 8.2 src/MixitupFunc.php \Drupal\mixitup_views\MixitupFunc::isMixitupInstalled()

Checks is mixitup js file exists.

Return value

bool True or False.

File

src/MixitupFunc.php, line 195

Class

MixitupFunc
Performs assistance functionality.

Namespace

Drupal\mixitup_views

Code

public function isMixitupInstalled() {
  if (is_file('libraries/mixitup/dist/mixitup.min.js')) {
    return TRUE;
  }
  return FALSE;
}