public function BlockEditor::configForm in Forena Reports 8
Same name and namespace in other branches
- 7.5 src/Editor/BlockEditor.php \Drupal\forena\Editor\BlockEditor::configForm()
Use the classes configForm method to build the form.
Parameters
$builder:
$config:
Return value
array Form elements
File
- src/
Editor/ BlockEditor.php, line 282
Class
Namespace
Drupal\forena\EditorCode
public function configForm($builder, &$config) {
$this
->getBuilders();
$form = array();
if (isset($this->builders[$builder])) {
$b = $this->builders[$builder];
if (method_exists($b, 'configForm')) {
$form = $b
->configForm($config);
}
}
return $form;
}