You are here

function Gallery::get_config in Node Gallery 6

File

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

Class

Gallery

Code

function get_config() {
  if (empty($this->config)) {
    $this->config = gallery_config_gateway::get_by($this->type);
  }
  return $this->config;
}