Back to AbstractModuleDispatcher class

Method getLayoutData

protected array|false
getLayoutData
()
Returns the layout data. This function can be overridden by subclasses to add more attributes for the layout.
Returns
  • array|false
Since
  • 4.0.0

Method getLayoutData - Source code

/**
 * Returns the layout data. This function can be overridden by subclasses to add more
 * attributes for the layout.
 *
 * If false is returned, then it means that the dispatch process should be aborted.
 *
 * @return  array|false
 *
 * @since   4.0.0
 */
protected function getLayoutData()
{
    return ['module' => $this->module, 'app' => $this->app, 'input' => $this->input, 'params' => new Registry($this->module->params), 'template' => $this->app->getTemplate()];
}