You are here

function photos_access_photos_access in Album Photos 7.3

Same name and namespace in other branches
  1. 8.5 photos_access/photos_access.module \photos_access_photos_access()
  2. 8.4 photos_access/photos_access.module \photos_access_photos_access()
  3. 6.0.x photos_access/photos_access.module \photos_access_photos_access()

Implements hook_photos_access().

File

photos_access/photos_access.module, line 507

Code

function photos_access_photos_access() {
  if (arg(0) == 'node' && is_numeric(arg(1))) {
    return arg(1);
  }
}