public function ReportEditor::foreachLinks in Forena Reports 7.5
Same name and namespace in other branches
- 8 src/Editor/ReportEditor.php \Drupal\forena\Editor\ReportEditor::foreachLinks()
Add foreach section links to blocks.
Parameters
unknown $block_name:
string $id:
string $context:
Return value
string
File
- src/
Editor/ ReportEditor.php, line 1136 - ReportEditor.inc Wrapper XML class for working with DOM object. It provides helper Enter description here ... @author metzlerd
Class
Namespace
Drupal\forena\EditorCode
public function foreachLinks($block_name, $id = '', $context = '') {
$o = '';
$report_name = $this->report_name;
// Add the block or ID link
$o .= '<div class="forena-edit-links">' . $this
->l_icon("reports/{$report_name}/edit/select-data/add-data/{$id}", 'plus.svg', 'Add Detail', null, t("Data")) . "</div>";
return $o;
}