You are here

public function FormBuilderLoader::getPaletteGroupInfo in Form Builder 7

1 call to FormBuilderLoader::getPaletteGroupInfo()
FormBuilderLoader::getElementTypeInfo in ./form_builder.classes.inc

File

./form_builder.classes.inc, line 93

Class

FormBuilderLoader
This class is a wrapper around all the hooks used for getting pluigns.

Code

public function getPaletteGroupInfo($form_type, $form_id, $reset = FALSE) {
  if (!isset($this->paletteGroupInfo[$form_type]) || $reset) {
    $this->paletteGroupInfo[$form_type] = module_invoke_all('form_builder_palette_groups', $form_type, $form_id);
  }
  return $this->paletteGroupInfo[$form_type];
}