Question

If I want to define a class, like the one below, for a custom module, and make it available to all the functions in my module, which hook should I use?

class foo {
  public $bar;
  function display_bar() {
    return $this->bar; 
  }
}

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top