public function BlockEditor::builderList in Forena Reports 7.5
Same name and namespace in other branches
- 8 src/Editor/BlockEditor.php \Drupal\forena\Editor\BlockEditor::builderList()
File
- src/
Editor/ BlockEditor.php, line 252
Class
Namespace
Drupal\forena\EditorCode
public function builderList() {
$this
->getBuilders();
$r = Frx::DataManager()
->repository($this->provider);
$plugin = get_class($r);
$list = array();
foreach ($this->builders as $class => $b) {
if (array_search($plugin, $b->supportedPlugins) !== FALSE && $b->name && $b->type == $this->block['type']) {
$list[$class] = $b->name;
}
}
asort($list);
return $list;
}