You are here

static function gallery_config_gateway::is_type in Node Gallery 6

1 call to gallery_config_gateway::is_type()
node_gallery_token_values in ./node_gallery.token.inc
Implementation of hook_token_values().

File

./node_gallery.model.inc, line 46
Node gallery module.

Class

gallery_config_gateway

Code

static function is_type($op, $type) {
  $types = self::get_types($op);
  if (in_array($type, array_keys($types))) {
    return TRUE;
  }
  return FALSE;
}