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

Registering taxonomy as behavior should be optional #48

Open
datakurre opened this issue Sep 18, 2017 · 1 comment
Open

Registering taxonomy as behavior should be optional #48

datakurre opened this issue Sep 18, 2017 · 1 comment

Comments

@datakurre
Copy link
Contributor

I'm going to add an option for not adding behavior for a taxonomy with flag in taxonomy_name.cfg.

Any opinion on how should the flag be called?

[taxonomy]
name = foobar
title = Foo Bar
description = Foo and bar
default_language = fi
field_title =
field_description =
write_permission = cmf.ManagePortal

Maybe field = true, because field_-prefixed settings control the behavior? Or register_behavior = true? Or just skip the behavior if field_title is empty?

@vincentfretin
Copy link
Member

I'm in favor of register_behavior = true (default to true for backward compatibility)

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

2 participants