You are here

function bootstrap_tour_is_default in Bootstrap Tour 7

Helper function to look up an object by name to see if it's a default or not.

2 calls to bootstrap_tour_is_default()
bootstrap_tour_form_submit in ./bootstrap_tour.module
Submit callback for the Bootstrap Tour create/edit form.
bootstrap_tour_list in ./bootstrap_tour.module
Callback function for admin/build/tours

File

./bootstrap_tour.module, line 525

Code

function bootstrap_tour_is_default($name) {
  $tour = bootstrap_tour_load($name);
  return !empty($tour->in_code_only);
}