schmunk42\giiant\generators\crud\providers\core\CallbackProvider::prependActiveField PHP Method

prependActiveField() public method

public prependActiveField ( $attribute, $model, $generator )
    public function prependActiveField($attribute, $model, $generator)
    {
        $key = $this->findValue($this->getModelKey($attribute, $model), $this->prependActiveFields);
        if ($key) {
            return $this->prependActiveFields[$key]($attribute, $model, $generator);
        }
    }