You are here

function _photos_select_sub_album in Album Photos 7.3

Same name and namespace in other branches
  1. 6.2 photos.module \_photos_select_sub_album()

Photos select sub album.

2 calls to _photos_select_sub_album()
photos_image_page in inc/photos.image.inc
Image page.
_photos_to_sub in inc/photos.edit.inc
Move to sub album form.

File

./photos.module, line 2536
Implementation of photos.module.

Code

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