Skip to content

how to pass extra data to templates? #7

@jomonkj

Description

@jomonkj

I can't find any options there
vendor/hiqdev/hidev/src/handlers/TemplateHandler.php

    public function prepareData($data)
    {
        return array_merge([
            'app'     => Yii::$app,
            'config'  => Yii::$app, /// DEPRECATED
            'file'    => $data->file,
            'handler' => $this,
        ], parent::prepareData($data));
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions