You are here

function _photos_select_sub_album in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 photos.module \_photos_select_sub_album()
2 calls to _photos_select_sub_album()
photos_image_page in inc/photos.image.inc
_photos_to_sub in inc/photos.edit.inc

File

./photos.module, line 1585

Code

function _photos_select_sub_album() {
  $types = node_get_types();
  foreach ($types as $type) {
    if (variable_get('photos_node_' . $type->type, 0)) {
      $t[] = "'" . $type->type . "'";
    }
  }
  return $t;
}