function flag_plugin_argument_validate_flaggability::construct in Flag 6.2
Same name and namespace in other branches
- 6 includes/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
- 7.3 includes/views/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
- 7.2 includes/flag_plugin_argument_validate_flaggability.inc \flag_plugin_argument_validate_flaggability::construct()
File
- includes/
flag_plugin_argument_validate_flaggability.inc, line 25 - Contains the flaggability validator handler.
Class
- flag_plugin_argument_validate_flaggability
- Validates whether an argument is a flaggable/flagged object.
Code
function construct() {
parent::construct();
$this->flag_type = $this->definition['flag type'];
}