You are here

public function RendererBase::configAjax in Forena Reports 8

Generate ajax configuration attributes for use in template configurtion forms.

Parameters

string $event:

Return value

array an #ajax element attribute.

File

src/FrxPlugin/Renderer/RendererBase.php, line 591
FrxRenderer.php Base class for FrxAPI custom Renderer @author davidmetzler

Class

RendererBase
Crosstab Renderer

Namespace

Drupal\forena\FrxPlugin\Renderer

Code

public function configAjax($event = '') {
  $ajax = array(
    'callback' => 'forena_template_callback',
    'wrapper' => 'forena-template-wrapper',
  );
  if ($event) {
    $ajax['event'] = $event;
  }
  return $ajax;
}