You are here

public function Loader::getPaletteGroupInfo in Form Builder 7.2

1 call to Loader::getPaletteGroupInfo()
Loader::getElementTypeInfo in src/Loader.php

File

src/Loader.php, line 95

Class

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

Namespace

Drupal\form_builder

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];
}