Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Доработать шаблонный хук #163

Open
psnet opened this issue Dec 1, 2015 · 0 comments
Open

Доработать шаблонный хук #163

psnet opened this issue Dec 1, 2015 · 0 comments

Comments

@psnet
Copy link

psnet commented Dec 1, 2015

У хука есть параметр assign, в который возвращается результат работы хука.

Предлагаю добавить служебный флаг, например, only_if_empty_assign_var для плагина смарти хука, который будет запускать хук на выполнение только в том случае, если в переменной, назначенной для assign ничего нет (не определена).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant