You are here

function bootstrap_tour_is_enabled in Bootstrap Tour 7

Helper function to return whether or not a tour is disabled.

1 string reference to 'bootstrap_tour_is_enabled'
bootstrap_tour_load_all in ./bootstrap_tour.module
Callback function for loading all bootstrap tours in an array of 'btid' => 'name' format.

File

./bootstrap_tour.module, line 533

Code

function bootstrap_tour_is_enabled($tour) {
  return empty($tour->disabled);
}