Node type flag

Component ID

2195167

Component name

Node type flag

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

662

Component created

Component changed

Component body

Due to the changes in Flag 3.4 it is no longer possible to flag non-entities. (From this version on Flag module token handling explicitly assumes that the flagging type is an entity type. As a consequence for node_type flaggings it continually throws "Undefined index" notices I don't think is possible to get rid of.) Therefore I mark this module Obsolete and Unsupported.

Depending on the Flag module Node type flag allows flagging node types.

Since the Flag module is written to only flag entities and node types are not entities, there's a bunch of dirty hacks to make this work. One of the most important consequences is that node type flaggings are not entities but node type flags still go in the {flag} table. On the UI this should not really be apparent but you cannot always handle node type flaggings with the same API functions as normal flaggings.

Rules integration is working.

I have not tested Views, but it's probably not working.

Module development sponsored by KYbest.